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

Transparency is shown as black for 1-bit PNGs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.0
    • 5.1.1
    • Image formats
    • None
    • Observed on Linux and Windows
    • 73b88fccedfe3912649d119bedf8490ab6c41812

    Description

      Download 2.png and main.qml, and run main.qml, it will show a black window.

      Imagemagik says:

      Colorspace: Gray
      Depth: 8/1-bit
      Channel depth:
      gray: 1-bit
      alpha: 1-bit
      Transparent color: graya(0,0,0,0)

      Attachments

        1. 2.png
          2.png
          0.3 kB
        2. main.cpp
          0.4 kB
        3. main.qml
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vgt Eirik Aavitsland
            iamsergio Sergio Martins
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes