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

Non-integer screen scale factor results in QPixmap pixelization

    XMLWordPrintable

Details

    • Windows

    Description

      When AA_EnableHighDpiScaling is enabled and Qt::HighDpiScaleFactorRoundingPolicy::PassThrough is used to prevent rounding, QPIxmaps that get scaled to a non-integer screen scale factor become significantly pixelated. 

      Occurs even when scaling down a higher resolution image.

      This behavior is not observed in Qt4 or Qt6.

       

      See the attached sample project for an example. Test with 150% or other non-integer scaling factors.

      Attachments

        1. imgscaledown.zip
          47 kB
        2. imgscaledown-MOD.zip
          46 kB
        3. scaledown_print.png
          scaledown_print.png
          76 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vgt Eirik Aavitsland
            kevin.zhang Kevin Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes