-recolor missing from options page

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

-recolor missing from options page

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

Re: -recolor missing from options page

Post by magick »

The -recolor option is deprecated, use -color-matrix instead.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: -recolor missing from options page

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

Re: -recolor missing from options page

Post by magick »

The -color-matrix works exactly the same as -recolor for a 3x3 matrix.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: -recolor missing from options page

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

Re: -recolor missing from options page

Post by magick »

Yes, in 6.6.1.
Post Reply