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

QML Image component doesn't apply devicePixelRatio for sourceSize for PNG sources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.13.0
    • Image formats
    • None

    Description

      In QTBUG-44171 it was noted, that SVG images look pixelated when used on a HiDPI screen. The same is true for PNG images:

      Image {
          source: "https://upload.wikimedia.org/wikipedia/de/b/bb/Png-logo.png"
          sourceSize.width: 32
          sourceSize.height: 32
      }
      

      This will result in pixelated image for larger QT_SCALE_FACTORs.

      Attachments

        Issue Links

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

          Activity

            People

              vgt Eirik Aavitsland
              jhasse Jan Niklas Hasse
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes