JPG read problem - Invalid SOS parameters for sequential JPEG
Swiss army knife of image processing
Brought to you by:
bfriesen
It is interesting that other programs does not complain with this issue.
The latest gm compiled from sources converts JPG to BMP and only displays this error.
M:\temp>"D:\Program Files\GraphicsMagick-1.3.31-Q8\gm.exe" convert 20220721_1203
53_resized.jpg 20220721_120353_resized.bmp
D:\Program Files\GraphicsMagick-1.3.31-Q8\gm.exe convert: Invalid SOS parameters
for sequential JPEG (20220721_120353_resized.jpg).
On Fri, 22 Jul 2022, Jaroslav Fojtik wrote:
As I recall, you updated libjpeg so you are using a different/newer
version than the release. Please take responsibility for this.
Bob
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt
Previous version before my update is even much more worse. It does not convert provided JPG at all. I have found this issue in work when I atempted to convert JPG on stable gm from 2020. After my update of jpg library, the conversion is done.
This JPG has been created from Samsung Galaxy S3 mobile phone. I could try to even go step further and use newer JPG library.
Last edit: Jaroslav Fojtik 2022-07-22
On Fri, 22 Jul 2022, Jaroslav Fojtik wrote:
I assume that it is not easy to support sequential JPEG, which is
really more like a video/movie. Supporting it properly would require
generating multiple frames like an animation.
Bob
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt
The problem has been disappeared in curent version. JPG library has been upgraded again to the curent .