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

QtIcoHandler does not support large & Vista PNG format icons

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.5.0
    • Image formats
    • None
    • a1314799a70db18d54123956b92a239bd50387a9 1768c145e07417a53abeb18bebda085b21d8f1d5

    Description

      I wrote a sample application, which extract all images from an ICO file.
      It uses QImageReader, which uses QtIcoHandler internally.

      Expected to see:
      All icons should be loaded correctly, including Vista style 256x256 icons.

      Got instead:
      1) QtIcoHandler does not support Vista style icons stored in PNG (instead of the traditional ICONIMAGE structure with a BITMAPINFOHEADER).
      2) QtIcoHandler shrinks icons larger than 128x128, although the highest possible icon size supported should be 256x256
      3) ICOReader::write() should write 256x256 icons in PNG format into the ICO file.
      4) It is not possible to create an icon, with more images

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            xcm Martin Petersson (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes