From: cristy Date: Tue, 15 Jun 2010 00:11:38 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~9219 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5acfd1575d4281586204dbfd664c5d0a7fdc0d7;p=imagemagick --- diff --git a/magick/quantize.c b/magick/quantize.c index f33189cdf..b23377c23 100644 --- a/magick/quantize.c +++ b/magick/quantize.c @@ -528,8 +528,7 @@ static MagickBooleanType AssignImageColors(Image *image,CubeInfo *cube_info) Create a reduced color image. */ if ((cube_info->quantize_info->dither != MagickFalse) && - (cube_info->quantize_info->dither_method != NoDitherMethod) && - (cube_info->quantize_info->dither_method != UndefinedDitherMethod)) + (cube_info->quantize_info->dither_method != NoDitherMethod)) (void) DitherImage(image,cube_info); else { diff --git a/wand/mogrify.c b/wand/mogrify.c index bf8077b54..d16256406 100644 --- a/wand/mogrify.c +++ b/wand/mogrify.c @@ -6733,7 +6733,7 @@ WandExport MagickBooleanType MogrifyImageInfo(ImageInfo *image_info, if (*option == '+') { image_info->dither=MagickFalse; - (void) SetImageOption(image_info,option+1,"undefined"); + (void) SetImageOption(image_info,option+1,"none"); break; } (void) SetImageOption(image_info,option+1,argv[i+1]);