]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 30 Jan 2014 13:39:59 +0000 (13:39 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 30 Jan 2014 13:39:59 +0000 (13:39 +0000)
MagickCore/compare.c

index cb8a3c83d6bcbb1534f3835ed5b575118350bd8c..cce6749492a6a84d1977ef5ac3d5e5c5ba71a4a6 100644 (file)
@@ -1127,6 +1127,8 @@ static Image *PerceptualHashImage(const Image *image,
     }
   phash_image=BlurImage(clone_image,0.0,1.0,exception);
   clone_image=DestroyImage(clone_image);
+  if (phash_image != (Image *) NULL)
+    phash_image->depth=8;
   return(phash_image);
 }