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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes