]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 15 Jan 2014 01:07:09 +0000 (01:07 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 15 Jan 2014 01:07:09 +0000 (01:07 +0000)
MagickCore/compare.c

index 36dabcd3db1f4f971bd4afd701a2b4c162a82eae..e77f7ee1c4fa42abd5ecbc38ad3c8e95a19056ab 100644 (file)
@@ -1172,8 +1172,8 @@ static MagickBooleanType GetPerceptualHashDistortion(const Image *image,
   /*
     Compute perceptual hash in the HCLP colorspace.
   */
-  if ((SetImageColorspace(blur_image,HCLpColorspace,exception) == MagickFalse) ||
-      (SetImageColorspace(blur_reconstruct,HCLpColorspace,exception) == MagickFalse))
+  if ((TransformImageColorspace(blur_image,HCLpColorspace,exception) == MagickFalse) ||
+      (TransformImageColorspace(blur_reconstruct,HCLpColorspace,exception) == MagickFalse))
     {
       blur_reconstruct=DestroyImage(blur_reconstruct);
       blur_image=DestroyImage(blur_image);