From 9f2083a8ba9e4c6bcc47950421519a7e5a99a23a Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 22 Apr 2010 19:48:05 +0000 Subject: [PATCH] --- ChangeLog | 1 + wand/mogrify.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index a1749d196..01dd3798d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16064). * Don't write empty tile if tile geometry matches the image width (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16064). + * Support -regard-warnings in the mogrify utility. 2010-04-15 6.6.1-4 Cristy * Do not set the resample virtual pixel method when undefined. diff --git a/wand/mogrify.c b/wand/mogrify.c index 7c974adc1..a370a93bd 100644 --- a/wand/mogrify.c +++ b/wand/mogrify.c @@ -5692,6 +5692,8 @@ WandExport MagickBooleanType MogrifyImageCommand(ImageInfo *image_info, if (IsGeometry(argv[i]) == MagickFalse) ThrowMogrifyInvalidArgumentException(option,argv[i]); } + if (LocaleCompare("regard-warnings",option+1) == 0) + break; if (LocaleCompare("region",option+1) == 0) { if (*option == '+') -- 2.50.1