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

QPixmap::transformed() returns pixmap with depth different from original on Windows.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.5.1
    • GUI: Painting
    • None

    Description

      If a QPixmap is constructed from a QBitmap, it gets a depth of 1. If you call QPixmap::transformed() on the pixmap, it returns a pixmap with a depth of 32 on Windows (QRasterPixmapData), but 1 on Linux. I think the new depth should be 1 on Windows as well. See mail task for example code.

      Attachments

        1. tst_qpixmap.diff
          1 kB
          David Faure (Private)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            kkalland Kim Motoyoshi Kalland (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes