diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-11-06 15:09:16 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-11-18 03:02:36 (GMT) |
commit | 30b1d4c7bf141a7b4adfb1f5dd12e8223694c12c (patch) | |
tree | 731049296d2c0c259b7f292624c35063525875ed /doc/src/snippets/code/src_gui_dialogs_qwizard.cpp | |
parent | ded9ddeb937b9525a55e980c4a22a2e0ef43d82f (diff) | |
download | Qt-30b1d4c7bf141a7b4adfb1f5dd12e8223694c12c.zip Qt-30b1d4c7bf141a7b4adfb1f5dd12e8223694c12c.tar.gz Qt-30b1d4c7bf141a7b4adfb1f5dd12e8223694c12c.tar.bz2 |
Fixed loading of 8-bit grayscale TIFF files.
The PHOTOMETRIC_MINISBLACK and PHOTOMETRIC_MINISWHITE settings also
apply to 8-bit grayscale, so we need to check the bit depth of the image
as well. For convenience we also try to write the images using
PHOTOMETRIC_MINISBLACK and PHOTOMETRIC_MINISWHITE as opposed to
PHOTOMETRIC_PALETTE when we detect that the color table is grayscale.
Task-number: QTBUG-5459
Reviewed-by: Benjamin Poulain
(cherry picked from commit 845c69b2e780e1646f68ee99beda10768a1971e2)
Diffstat (limited to 'doc/src/snippets/code/src_gui_dialogs_qwizard.cpp')
0 files changed, 0 insertions, 0 deletions