commit | 1a6e41ac9d90a1a9b6e6dee9a0038a6c0e1e5e18 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Mon Nov 08 17:09:54 2010 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Mon Nov 08 17:09:54 2010 +0000 |
tree | f60eba8995281f07f0481db5fc226fe44f9f1005 | |
parent | f3a6a9da1d8bb3744f9cfbdaa4738815e48aa517 [diff] [blame] |
diff --git a/coders/tiff.c b/coders/tiff.c index f51d93e..24eb3b7 100644 --- a/coders/tiff.c +++ b/coders/tiff.c
@@ -2666,7 +2666,7 @@ MagickFalse ? PHOTOMETRIC_MINISWHITE : PHOTOMETRIC_MINISBLACK); (void) TIFFSetField(tiff,TIFFTAG_SAMPLESPERPIXEL,1); - if ((image_info->depth == 0) && + if ((image_info->depth == 0) && (image->matte == MagickFalse)) (IsMonochromeImage(image,&image->exception) != MagickFalse)) { status=SetQuantumDepth(image,quantum_info,1);