File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ static MagickBooleanType MontageUsage(void)
165165 " -origin geometry image origin\n"
166166 " -page geometry size and location of an image canvas (setting)\n"
167167 " -pointsize value font point size\n"
168+ " -precision value maximum number of significant digits to print\n"
168169 " -profile filename add, delete, or apply an image profile\n"
169170 " -quality value JPEG/MIFF/PNG compression level\n"
170171 " -quantize colorspace reduce colors in this colorspace\n"
@@ -1335,6 +1336,17 @@ WandExport MagickBooleanType MontageImageCommand(ImageInfo *image_info,
13351336 ThrowMontageInvalidArgumentException (option ,argv [i ]);
13361337 break ;
13371338 }
1339+ if (LocaleCompare ("precision" ,option + 1 ) == 0 )
1340+ {
1341+ if (* option == '+' )
1342+ break ;
1343+ i ++ ;
1344+ if (i == (ssize_t ) argc )
1345+ ThrowMontageException (OptionError ,"MissingArgument" ,option );
1346+ if (IsGeometry (argv [i ]) == MagickFalse )
1347+ ThrowMontageInvalidArgumentException (option ,argv [i ]);
1348+ break ;
1349+ }
13381350 if (LocaleCompare ("profile" ,option + 1 ) == 0 )
13391351 {
13401352 i ++ ;
You can’t perform that action at this time.
0 commit comments