summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-11-06 15:09:16 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-11-18 03:02:36 (GMT)
commit30b1d4c7bf141a7b4adfb1f5dd12e8223694c12c (patch)
tree731049296d2c0c259b7f292624c35063525875ed /doc/src/snippets/code
parentded9ddeb937b9525a55e980c4a22a2e0ef43d82f (diff)
downloadQt-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')
0 files changed, 0 insertions, 0 deletions