From: cristy Date: Wed, 1 Feb 2012 21:10:23 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6273 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85336bc041d154cce6aa44cf299e538a304ee2db;p=imagemagick --- diff --git a/coders/icon.c b/coders/icon.c index 9dd025ea1..acfda700e 100644 --- a/coders/icon.c +++ b/coders/icon.c @@ -862,7 +862,8 @@ static MagickBooleanType WriteICONImage(const ImageInfo *image_info, next=image; do { - if (next->compression == ZipCompression) + if ((next->columns > 256L) && (next->rows > 256L) && + (next->compression == ZipCompression)) { Image *write_image;