IM 6.6.0-4 Q16 Mac OSX Tiger
I have tested the new -evaluate-sequence on multiple image (up to 5) for max, min and mean. The first two work but it appears that min is not working correctly.
Two Inputs:
convert checks.jpg lena2.jpg -evaluate-sequence max tmp_max.jpg
convert checks.jpg lena2.jpg -evaluate-sequence mean tmp_mean.jpg
convert checks.jpg lena2.jpg -evaluate-sequence min tmp_min.jpg
I would have expected the dark squares from the checks image alternating with squares from the lena image.
P.S. I see that -average has been removed from the options page, although it still works (deprecated with -evaluate-sequence mean). Perhaps a note in the -evaluate-sequence would be in order about it being deprecated. I have 4 scripts that I will need to modify, so that whenever -average disappears totally, I will have -evaluste-sequence in place. This is not a big deal, but others may need to know. I can make the change on the options page, if you want me to. Let me know.
It might also be nice to have
convert -list evaluate-sequence
list those evaluate options that make sense to use with -evaluate-sequence and are implemented, as I am not sure all the evaluate options make sense in this new function.
Fred
potential bug -evaluate-sequence min
Re: potential bug -evaluate-sequence min
We can reproduce the problem you posted and have a patch. Look for it in the next point release of ImageMagick.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: potential bug -evaluate-sequence min
Yes, this seems to be working now and producing a correct result:magick wrote:We can reproduce the problem you posted and have a patch. Look for it in the next point release of ImageMagick.
convert checks.jpg lena2.jpg -evaluate-sequence min tmp_min2.jpg