richgel999 / jpeg-compressor

C++ JPEG compression/fuzzed low-RAM JPEG decompression codec with Public Domain or Apache 2.0 license
217 stars 56 forks source link

JPGD_UNEXPECTED_MARKER & M_RST7 failing on the Nexus 4 #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 sanchi...@gmail.com on 27 Jan 2014 at 5:44

GoogleCodeExporter commented 9 years ago
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 sanchi...@gmail.com on 28 Jan 2014 at 4:50

richgel999 commented 4 years ago

If you're still out there - please send me the image and I'll debug it.

rawnsley commented 1 year ago

@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