summaryrefslogtreecommitdiffstats
path: root/tools/xmlpatterns
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-11-06 15:09:16 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-11-09 09:41:06 (GMT)
commit845c69b2e780e1646f68ee99beda10768a1971e2 (patch)
treebdc68d5f18d3c3cba755722d55fb8c1851775273 /tools/xmlpatterns
parent3143014a80d1dfdfe3bb0f6175a3f7f7f41b2aaf (diff)
downloadQt-845c69b2e780e1646f68ee99beda10768a1971e2.zip
Qt-845c69b2e780e1646f68ee99beda10768a1971e2.tar.gz
Qt-845c69b2e780e1646f68ee99beda10768a1971e2.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
Diffstat (limited to 'tools/xmlpatterns')
0 files changed, 0 insertions, 0 deletions