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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes