]> granicus.if.org Git - imagemagick/commitdiff
Fixed call to PrintChannelPerceptualHash.
authordirk <dirk@git.imagemagick.org>
Sun, 10 Aug 2014 01:53:55 +0000 (01:53 +0000)
committerdirk <dirk@git.imagemagick.org>
Sun, 10 Aug 2014 01:53:55 +0000 (01:53 +0000)
MagickCore/identify.c

index cf7f2e406660c107dde61b9f270626b979242f21..9db3d138d8129d795f2898b745fd503765c47351 100644 (file)
@@ -862,14 +862,14 @@ MagickExport MagickBooleanType IdentifyImage(Image *image,FILE *file,
   if (channel_phash != (ChannelPerceptualHash *) NULL)
     {
       (void) FormatLocaleFile(file,"  Channel perceptual hash:\n");
-      (void) PrintChannelPerceptualHash(file,RedChannel,"Red, Hue",
+      (void) PrintChannelPerceptualHash(file,RedPixelChannel,"Red, Hue",
         channel_phash);
-      (void) PrintChannelPerceptualHash(file,GreenChannel,"Green, Chroma",
+      (void) PrintChannelPerceptualHash(file,GreenPixelChannel,"Green, Chroma",
         channel_phash);
-      (void) PrintChannelPerceptualHash(file,BlueChannel,"Blue, Luma",
+      (void) PrintChannelPerceptualHash(file,BluePixelChannel,"Blue, Luma",
         channel_phash);
       if (image->alpha_trait == BlendPixelTrait)
-        (void) PrintChannelPerceptualHash(file,AlphaChannel,"Alpha, Alpha",
+        (void) PrintChannelPerceptualHash(file,AlphaPixelChannel,"Alpha, Alpha",
           channel_phash);
       channel_phash=(ChannelPerceptualHash *) RelinquishMagickMemory(
         channel_phash);