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

Regression: QImage fails to load jpg file with EXIF

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • 5.5.1
    • 5.5.0
    • Image formats
    • None
    • Linux, Windows

      Loading the attached image file with exif data in it's header used to work fine in Qt 5.4 but has stopped working in Qt 5.5. Instead of a valid QImage the result is a null image.

      If the EXIF data is stripped from the jpg header (by using jhead --pure-jpg, see [0]) the file works fine.

      I have tested this behaviour on Windows and Linux, both using QImage::load() and QImage::loadFromData(). The result is a null image in all of these cases.

      [0] http://www.sentex.net/~mwandel/jhead/

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

            vgt Eirik Aavitsland
            selmf Felix Kauselmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes