Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48689

QImage fails to load images with orientation tag of 0 (unknown).

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • 5.5.1
    • 5.5.0 RC
    • Image formats
    • None
    • all

      Some of my jpegs appear to have the orientation tag(0x112) set to zero. This is not a problem for most other graphics apps, whereas QImage and QImageReader fails to load the image.

      Solution: edit function getExifOrientation in file qtbase/src/gui/image/qjpeghandler.cpp
      not to fail for values below 1.

      There appears to be no negative affects to this mod.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vgt Eirik Aavitsland
            kingrolo Peter Barlow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes