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

JPEG with Exif data does not set the right resolution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.6.2, 5.9.1
    • Image formats
    • None

    Description

      When a JPEG has the Exif data, it does not have the JFIF information. When the Exif data are present, like for the orientation (-QTBUG-37946-), the reader should also read the image resolution from the Exif.

      Attached testcases with 300x300 dpi resolution:

      • jfif.jpg was saved with .net and has the JFIF data (Qt read and set the right resolution)
      • exif.jpg was saved with Photoshop and has the Exif data (Qt leaves the default resolution, in my case 96 dpi).

      Attachments

        1. jfif.jpg
          jfif.jpg
          110 kB
        2. exif.jpg
          exif.jpg
          361 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vgt Eirik Aavitsland
            mircomir Mirco Miranda
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes