Page 1 of 1

potential error in new function -maximum & -minimum

Posted: 2010-03-06T11:54:13-07:00
by fmw42
IM 6.0.0.3 Q16 Mac OSX Tiger

Changelog says:

2010-03-05 6.6.0-2 Cristy <quetzlzacatenango@image...>
Add support for the -maximum and -minimum options.

However, using -maximum or -minimum give an error message:

"convert: unrecognized option `-maximum' @ error/convert.c/ConvertImageCommand/1976."

Using -max or -min, works without an error message, but one gets all the inputs as outputs. For example:

convert checks.jpg lena2.jpg mandril.jpg peppers.jpg zelda3.jpg -max tmp1.png

produces four output images: tmp1-0.png, tmp1-1.png, tmp1-2.png, tmp1-3.png, tmp1-4.png


I am not sure which names you want to use: -max or -maximum (etc), but either is OK with me.

However, the longer name might be more recognizable and consistent with -average (as opposed to -ave) and is what is now on the options page as well as the changelog

Re: potential error in new function -maximum & -minimum

Posted: 2010-03-06T12:19:34-07:00
by magick
We can reproduce the problem you posted and have a fix. Look for it in ImageMagick 6.6.0-4 Beta available by sometime tomorrow. Thanks.