mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
This commit is contained in:
@@ -168,6 +168,7 @@ static MagickBooleanType MontageUsage(void)
|
||||
" -monitor monitor progress\n"
|
||||
" -page geometry size and location of an image canvas (setting)\n"
|
||||
" -pointsize value font point size\n"
|
||||
" -precision value maximum number of significant digits to print\n"
|
||||
" -profile filename add, delete, or apply an image profile\n"
|
||||
" -quality value JPEG/MIFF/PNG compression level\n"
|
||||
" -quantize colorspace reduce colors in this colorspace\n"
|
||||
@@ -1349,6 +1350,17 @@ WandExport MagickBooleanType MontageImageCommand(ImageInfo *image_info,
|
||||
ThrowMontageInvalidArgumentException(option,argv[i]);
|
||||
break;
|
||||
}
|
||||
if (LocaleCompare("precision",option+1) == 0)
|
||||
{
|
||||
if (*option == '+')
|
||||
break;
|
||||
i++;
|
||||
if (i == (ssize_t) argc)
|
||||
ThrowMontageException(OptionError,"MissingArgument",option);
|
||||
if (IsGeometry(argv[i]) == MagickFalse)
|
||||
ThrowMontageInvalidArgumentException(option,argv[i]);
|
||||
break;
|
||||
}
|
||||
if (LocaleCompare("profile",option+1) == 0)
|
||||
{
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user