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

QImage::scaled will convert the format of image without any tips

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.15.12
    • GUI: Other
    • None
    • All

    Description

      Hi, I find a issue when using qimage. 

      the original qimage I created is Format_RGB888,but when I use QImage::scaledto scale it, the returned qimage become Format_RGB32 ,because I used Qt::SmoothTransformation option to scale it. 

      If converting is not avoidable, would you please add it to document?

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            yorkchen_bilibili yu xi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes