]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 19 Jan 2014 02:03:40 +0000 (02:03 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 19 Jan 2014 02:03:40 +0000 (02:03 +0000)
MagickCore/identify.c

index 4d5f7d86a04059f18ee4ed0b29082fc21d4b604f..7e5fe86afb9d728313002219e0c3dee5d8d20bae 100644 (file)
@@ -839,6 +839,12 @@ MagickExport MagickBooleanType IdentifyImage(Image *image,FILE *file,
       if (image->alpha_trait == BlendPixelTrait)
         (void) PrintChannelMoments(file,AlphaPixelChannel,"Alpha",
           channel_moments);
+      if (colorspace != GRAYColorspace)
+        {
+          (void) FormatLocaleFile(file,"  Image moments:\n");
+          (void) PrintChannelMoments(file,(PixelChannel) MaxPixelChannels,
+            "Overall",channel_moments);
+        }
       channel_moments=(ChannelMoments *) RelinquishMagickMemory(
         channel_moments);
     }