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

QImage::invertPixels on argb32_premultiplied produces invalid image data

XMLWordPrintable

    • d8dc664b945d8832eab97c5df0e1ea47ebf895fd

      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.

        1. QTBUG-39901-qimage-invertpixels-grayscale.zip
          2 kB
          Joni Poikelin
        2. SnapGene_001.png
          3 kB
          Will Stokes
        For Gerrit Dashboard: QTBUG-39901
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes