jeudi 4 août 2016

Samsung Galaxy S5 camera creating incorrect JPG files after upgrade to Android 6

Hello,
after upgrade to Android 6 the build in Camera app on my Galaxy S5 started to create incorrect JPG files from time to time. When using jpegtran (http://ift.tt/MVugW5) or for example compare.exe from ImageMagick - it displays "Invalid SOS parameters for sequential JPEG" message for such images.

Image examples: cichas.sweb.cz/S5/

jpegtran debug output example:
Quote:

c:\test>jpegtran.exe -debug -copy all 1.jpg 1_1.jpg
Independent JPEG Group's JPEGTRAN, version 9b 17-Jan-2016
Copyright (C) 2016, Thomas G. Lane, Guido Vollbeding
Start of Image
Miscellaneous marker 0xe1, length 776
JFIF APP0 marker: version 1.01, density 59x59 2
Define Quantization Table 0 precision 0
Define Quantization Table 1 precision 0
Start Of Frame 0xc0: width=5312, height=2988, components=3
Component 1: 2hx2v q=0
Component 2: 1hx1v q=1
Component 3: 1hx1v q=1
Define Huffman Table 0x00
Define Huffman Table 0x10
Define Huffman Table 0x01
Define Huffman Table 0x11
Define Restart Interval 4
Start Of Scan: 3 components
Component 1: dc=0 ac=0
Component 2: dc=1 ac=1
Component 3: dc=1 ac=1
Ss=0, Se=0, Ah=0, Al=0
Invalid SOS parameters for sequential JPEG
End Of Image
My question is if it is only problem of Samsung so I should report to them or this is something common on Marshmallow?
I am using jhead for automatic loseless image rotations but it do not work due to the jpegtran problem.


from xda-developers http://ift.tt/2axlWM5
via IFTTT

Aucun commentaire:

Enregistrer un commentaire