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

Fehler QPixmap, setMask

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.14
    • GUI: Painting
    • None
    • Windows

      I want to overlay pixel images (51 x 51) using the alpha channel. The individual images are loaded from * .png files with .load (bild1.png) and then blended with another image (bild2.png) with setMask (image with alpha channel). Individual pixels are set to black. Colored pixels (yellow) are not adopted (bild3.png).

      I expected the two lines to turn yellow in bild3.png.

        1. bild1.png
          bild1.png
          0.1 kB
        2. bild2.png
          bild2.png
          0.1 kB
        3. bild3.png
          bild3.png
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vgt Eirik Aavitsland
            rol51 Roland Spannaus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes