jpeg-compressor
jpeg-compressor copied to clipboard
JPGD_UNEXPECTED_MARKER & M_RST7 failing on the Nexus 4
What steps will reproduce the problem?
1. Only happens in the Nexus 4 device. (Android 4.3)
2. When taking a JPEG picture, the JPEG data is passed for decompression into
the method: decompress_jpeg_image_from_memory method
What is the expected output? What do you see instead?
Decoding fails. Debugging the library I've found that the error code is
"JPGD_UNEXPECTED_MARKER", and the marker itself that seems to make it fail is
"M_RST7"
Original issue reported on code.google.com by [email protected] on 27 Jan 2014 at 5:44
Further testing on other devices, seems that the issue is only with the Nexus
4.
So seems very specific to the type of Jpeg that generates this device.
Original comment by [email protected] on 28 Jan 2014 at 4:50
If you're still out there - please send me the image and I'll debug it.
@richgel999 Not OP, but we have a similar error when decoding the example files below. In our case they were generated in Blender and then processed in Adobe Lightroom.
animal_cope_01 banister_polls banister boat_liners_black bowels_floor_02 captains_window_frame