]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 29 Jan 2017 14:11:59 +0000 (09:11 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sun, 29 Jan 2017 14:11:59 +0000 (09:11 -0500)
MagickCore/identify.c

index 3bdcb4d3ba72d4e3cfce9f6115ba359946328e74..e8d7d33fd50ec5c131324a964ab021473b7fbc24 100644 (file)
@@ -844,6 +844,11 @@ MagickExport MagickBooleanType IdentifyImage(Image *image,FILE *file,
       if (image->alpha_trait != UndefinedPixelTrait)
         (void) PrintChannelStatistics(file,AlphaPixelChannel,"Alpha",1.0/
           scale,channel_statistics);
+      if (image->number_meta_channels != 0)
+        for (i=0; i < (ssize_t) image->number_meta_channels; i++)
+          (void) PrintChannelStatistics(file,(PixelChannel)
+            image->number_channels-image->number_meta_channels+i,"Meta",1.0/
+            scale,channel_statistics);
       if (colorspace != GRAYColorspace)
         {
           (void) FormatLocaleFile(file,"  Image statistics:\n");