A tiff file without the TIFFTAG_PHOTOMETRIC tag will fail to load with ImproperImageHeader Exception.
line 1375 in coders\tiff.c initializes:
photometric=PHOTOMETRIC_RGB;
but the call in line 1378:
(TIFFGetFieldDefaulted(tiff,TIFFTAG_PHOTOMETRIC,&photometric) != 1)
does not use that,
It has a ...
Search found 1 match
- 2019-08-21T19:24:53-07:00
- Forum: Bugs
- Topic: Tiff image without TIFFTAG_PHOTOMETRIC won't load
- Replies: 1
- Views: 98997