meryemzrd / jpeg-compressor

Automatically exported from code.google.com/p/jpeg-compressor
0 stars 0 forks source link

JPGD_UNEXPECTED_MARKER & M_RST7 failing on the Nexus 4 #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 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 8 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