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

QImage::depth return 32 when Image (.gif, .tif) is 24

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.0
    • 4.6.1
    • Image formats
    • None
    • Windows XP SP3 (german), ie 8.0
      Qt 4.6.1 with mingw (used the qt SDK)
    • 7b923d14c0e8d8f84c71e8d636a0632f4566f00a

    Description

      When loading a GIF or Tif Image (i didnĀ“t try others) QImage::depth() always returns 32 (instead of 24 like windows or xnview says).
      When saving the GIF in greyscale (8-bit) depth() value is reported correctly as 8.
      This also happens with Qt 4.5.2.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            martink Martin Kloer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes