Page 1 of 1

-recolor missing from options page

Posted: 2010-05-29T10:31:03-07:00
by fmw42
Looks like -recolor has disappeared from the options page at http://www.imagemagick.org/script/comma ... ptions.php

Both the link and the text seem to be gone.

Re: -recolor missing from options page

Posted: 2010-05-29T11:11:43-07:00
by magick
The -recolor option is deprecated, use -color-matrix instead.

Re: -recolor missing from options page

Posted: 2010-05-29T12:10:37-07:00
by fmw42
magick wrote:The -recolor option is deprecated, use -color-matrix instead.
I have several scripts that used -recolor. Is the 3x3 submatrix of -color-matrix the same as what -recolor used with a 3x3 matrix?

In otherwords, is it backwards compatible with -recolor?


In the future, can you post a note in the changelog when you deprecate a function? Or is there a current list of deprecated functions somewhere?

Re: -recolor missing from options page

Posted: 2010-05-29T13:58:59-07:00
by magick
The -color-matrix works exactly the same as -recolor for a 3x3 matrix.

Re: -recolor missing from options page

Posted: 2010-05-29T15:56:04-07:00
by fmw42
thanks. what release was that deprecated? I need that to put a switch in my scripts between -recolor and -color-matrix

was it 6.6.1.0 per the last entry I could find in the changelog about recolor

2010-03-31 6.6.1-0 Cristy <quetzlzacatenango@image...>
The -recolor 4x4 matrix is now interpretted properly (previously it summed rather than attenuating the alpha channel).

Re: -recolor missing from options page

Posted: 2010-05-29T17:06:26-07:00
by magick
Yes, in 6.6.1.