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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.3.0
    • Fix Version/s: 5.4.0
    • Component/s: Image formats
    • Labels:
      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

            Assignee:
            vgt Eirik Aavitsland
            Reporter:
            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