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

<img> tag in QML Text isn't smoothly scaled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.7.1
    • Labels:
      None
    • Commits:
      a3da23d5a92ab0f9b8280b9ed591986f8ac6a2d6

      Description

      Please see poorImageQuality.png attached and compare:

      Text{
          text: '<img src="BarChart.png">'
          scale: 1.1
      }
      

      with

      Image{
          source: 'BarChart.png'
          scale: 1.1
      }
      

      Scaled Image quality in Text is poor. Setting Image::smooth: false causes similar behavior, but there appears to be no way to turn smooth on in Text. Perhaps Item::smooth (which defaults true) could be used to turn on/off?

      I'm on Windows and haven't tested other platforms. BarChart.png is attached.

        Attachments

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

          Activity

            People

            Assignee:
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Reporter:
            chriscortopassi Chris Cortopassi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes