Fix parsing of JP2 images
Merge pull request #4365 from fkaelberer/FixJpxParsing

Fix parsing of JP2 images