potential error in new function -maximum & -minimum

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

potential error in new function -maximum & -minimum

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
Post Reply