From: cristy Date: Sun, 19 Jan 2014 02:03:40 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2827 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=878fe619e0b9bf6e01f6c4b0e9c71e105ec7c81e;p=imagemagick --- diff --git a/MagickCore/identify.c b/MagickCore/identify.c index 4d5f7d86a..7e5fe86af 100644 --- a/MagickCore/identify.c +++ b/MagickCore/identify.c @@ -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); }