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

Improve the doc of QImageReader::quality() [edited]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.4.0
    • 5.3.0
    • Image formats
    • None

    Description

      QImageReader::quality() returns either -1 or the value set with QImageReader::setQuality(), but never reads the value from the image handler and thus it doesn't get the value from the image file. The quality is image's (or encoder's) feature and not something the user sets when reading the file. Thus I think the logic is flawed.

      Find attached a test app (incl. jpeg file), which prints the image format, size and quality to the debug output.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes