commit | d05ecd1dab44b782f4f1e145b0a1f36c7217b8a4 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Fri Apr 22 20:44:42 2011 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Fri Apr 22 20:44:42 2011 +0000 |
tree | 82f59c9cc4b6d90593d5ca1cadddd4f68658c405 | |
parent | 89bbeafc12ffc0d906bada7e5e7e9463ed83a426 [diff] [blame] |
diff --git a/coders/miff.c b/coders/miff.c index 2ecd2d1..ee2db85 100644 --- a/coders/miff.c +++ b/coders/miff.c
@@ -2414,7 +2414,7 @@ if ((length < 255) && (x < (ssize_t) (image->columns-1)) && (IsColorEqual(p,&pixel) != MagickFalse) && ((image->matte == MagickFalse) || - (p->opacity == pixel.opacity)) && + (GetOpacityPixelComponent(p) == pixel.opacity)) && ((indexes == (IndexPacket *) NULL) || (index == indexes[x]))) length++; else