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

ICC support for Black and White PNG images

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P4: Low
    • 5.15.0 Beta1
    • 5.14.1
    • GUI: Painting
    • None
    • Linux/X11
    • eb2af9d923923255b276c6549ada1ed7839d5dd8 (qt/qtbase/5.15)

    Description

      Hi there,

       

      After upgrading to Qt 5.14.1 yesterday, my project started throwing the following warnings at startup-time:

       

      qt.gui.icc: Unsupported ICC input color space 47524159
      qt.gui.icc: fromIccProfile: failed general sanity check
      QPngHandler: Failed to parse ICC profile

       

      Turned out I was using several black-and-white PNG images, which triggered these warnings. After setting the images' mode to RGB the warnings stopped.

      They seem to originate from "qtbase/src/gui/painting/qicc.cpp"

       

      I suggest adding support for black-and-white PNG images, or at least recognise them as legit color space (if there is such a thing).

       

      Many thanks,

      Holger

      Attachments

        For Gerrit Dashboard: QTBUG-81830
        # Subject Branch Project Status CR V

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            Fantail Holger Jahn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes