We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a51528 commit 0b6ca3fCopy full SHA for 0b6ca3f
coders/tiff.c
@@ -1212,6 +1212,7 @@ static Image *ReadTIFFImage(const ImageInfo *image_info,
1212
/* TIFFPrintDirectory(tiff,stdout,MagickFalse); */
1213
if ((TIFFGetField(tiff,TIFFTAG_IMAGEWIDTH,&width) != 1) ||
1214
(TIFFGetField(tiff,TIFFTAG_IMAGELENGTH,&height) != 1) ||
1215
+ (TIFFGetFieldDefaulted(tiff,TIFFTAG_PHOTOMETRIC,&photometric,sans) != 1) ||
1216
(TIFFGetFieldDefaulted(tiff,TIFFTAG_COMPRESSION,&compress_tag,sans) != 1) ||
1217
(TIFFGetFieldDefaulted(tiff,TIFFTAG_FILLORDER,&endian,sans) != 1) ||
1218
(TIFFGetFieldDefaulted(tiff,TIFFTAG_PLANARCONFIG,&interlace,sans) != 1) ||
0 commit comments