]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 13 Oct 2011 15:56:05 +0000 (15:56 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 13 Oct 2011 15:56:05 +0000 (15:56 +0000)
MagickWand/magick-image.c

index 9392f4cac51a51989f0c209a95dbcba975f53c00..6ab1f5a572b936b16fd27b77bbd088f003b34bff 100644 (file)
@@ -1490,6 +1490,7 @@ WandExport MagickBooleanType MagickColorizeImage(MagickWand *wand,
     (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
   if (wand->images == (Image *) NULL)
     ThrowWandException(WandError,"ContainsNoImages",wand->name);
+  GetPixelInfo(wand->images,&target);
   if (target.colorspace != CMYKColorspace)
     (void) FormatLocaleString(percent_blend,MaxTextExtent,
       "%g,%g,%g,%g",(double) (100.0*QuantumScale*