https://github.com/mattbdean/JRAW/issues/312