From 80b1dee43271d7b57960bc8ab9f3c1430cb0a66e Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 9 Jan 2014 11:27:24 +0000 Subject: [PATCH] --- MagickWand/convert.c | 3 +++ utilities/convert.1.in | 1 + 2 files changed, 4 insertions(+) diff --git a/MagickWand/convert.c b/MagickWand/convert.c index 12a2cbd84..b9d4d1b25 100644 --- a/MagickWand/convert.c +++ b/MagickWand/convert.c @@ -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) diff --git a/utilities/convert.1.in b/utilities/convert.1.in index c2a65531e..4a542b5a2 100644 --- a/utilities/convert.1.in +++ b/utilities/convert.1.in @@ -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) -- 2.40.0