From: cristy Date: Wed, 15 Jan 2014 01:07:09 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2864 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca281244d15738a07d4c3338de2acfbc78836284;p=imagemagick --- diff --git a/MagickCore/compare.c b/MagickCore/compare.c index 36dabcd3d..e77f7ee1c 100644 --- a/MagickCore/compare.c +++ b/MagickCore/compare.c @@ -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);