Menu

#667 JPG read problem - Invalid SOS parameters for sequential JPEG

v1.0_(example)
closed-fixed
None
5
2023-01-08
2022-07-22
No

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).
1 Attachments

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2022-07-22

    On Fri, 22 Jul 2022, Jaroslav Fojtik wrote:

    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).

    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

     
  • Jaroslav Fojtik

    Jaroslav Fojtik - 2022-07-22

    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
    • Bob Friesenhahn

      Bob Friesenhahn - 2022-07-22

      On Fri, 22 Jul 2022, Jaroslav Fojtik wrote:

      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.

      This JPG has been created from Samsung Galaxy S3 mobile phone. I could try to even go step further and use newer JPG library.

      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

       
  • Jaroslav Fojtik

    Jaroslav Fojtik - 2023-01-08

    The problem has been disappeared in curent version. JPG library has been upgraded again to the curent .

     
  • Jaroslav Fojtik

    Jaroslav Fojtik - 2023-01-08
    • status: open --> closed-fixed
    • assigned_to: Jaroslav Fojtik
     

Log in to post a comment.

MongoDB Logo MongoDB