]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 9 Jan 2014 11:27:24 +0000 (11:27 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 9 Jan 2014 11:27:24 +0000 (11:27 +0000)
MagickWand/convert.c
utilities/convert.1.in

index 12a2cbd848434cd4b3f93b40f38b64b153c47c82..b9d4d1b25e6db310351085c8f45e30b00047bd3e 100644 (file)
@@ -395,6 +395,7 @@ static MagickBooleanType ConvertUsage(void)
       "-mask filename       associate a mask with the image",
       "-matte               store matte channel if the image has one",
       "-mattecolor color    frame color",
+      "-moments             report image moments",
       "-monitor             monitor progress",
       "-orient type         image orientation",
       "-page geometry       size and location of an image canvas (setting)",
@@ -2079,6 +2080,8 @@ WandExport MagickBooleanType ConvertImageCommand(ImageInfo *image_info,
               ThrowConvertInvalidArgumentException(option,argv[i]);
             break;
           }
+        if (LocaleCompare("moments",option+1) == 0)
+          break;
         if (LocaleCompare("monitor",option+1) == 0)
           break;
         if (LocaleCompare("monochrome",option+1) == 0)
index c2a65531efe7dc7c1d252c0abeae1a3c6a982b9b..4a542b5a2ede944ad3b0d0c5818236117fb9255e 100644 (file)
@@ -72,6 +72,7 @@ Image Settings:
   \-matte               store matte channel if the image has one
   \-mattecolor color    frame color
   \-metric type         measure differences between images with this metric
+  \-moments             report image moments
   \-monitor             monitor progress
   \-orient type         image orientation
   \-page geometry       size and location of an image canvas (setting)