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

PNG image with indexed ARGB incorrect render

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.2
    • Image formats
    • None
    • Qt 5.15.2, Windows 10 64-bits, visual studio 2019
    • Windows

    Description

      Indexed PNG images having a 256-entry palette in ARGB8888 format will not open correctly (when a QImage is constructed from them). The non-indexed variant works as expected.

      Attached is an indexed PNG image and the non-indexed variant.

      The attached images were created using Affinity Photo (version 1.10) and show the expected image in Affinity photo itself and in Windows preview of the file explorer.

      Attachments

        1. ARGB-direct.png
          ARGB-direct.png
          14 kB
        2. ARGB-indexed.png
          ARGB-indexed.png
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vgt Eirik Aavitsland
            ev E Visser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes