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

QImage::invertPixels on argb32_premultiplied produces invalid image data

    XMLWordPrintable

Details

    • d8dc664b945d8832eab97c5df0e1ea47ebf895fd

    Description

      invertPixels inverts only parts of images that are fully opaque when image was grayscale png with transparency and was loaded by QPixmap.

      In attached example, image on right should be white.

      Attachments

        1. QTBUG-39901-qimage-invertpixels-grayscale.zip
          2 kB
          Joni Poikelin
        2. SnapGene_001.png
          3 kB
          Will Stokes
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes