Page 1 of 1

'-affinity' option documentated, but not implemented.

Posted: 2008-09-16T11:03:09-07:00
by paul.verschoor
The following command:

Code: Select all

convert rose: -affinity my_colortable.png rose_in_my_colors.png
or

Code: Select all

mogrify -affinity my_colortable.png rose.png
gives both the following error:
unrecognized option `-affinity'.

seems like both commands do not recognize the -affinity sequence operator.

When looked in the code
wand/mogrify.c checks for the affinity operator. :)
However wand/convert.c does not, even though it is documented. :(

Also can anyone give me an example on the proper command line use for '-affinity' with mogrify and convert if correctly implemented (the above example was just a guess).

I'm using
ImageMagick (32 bits version)
Version: ImageMagick 6.4.3 2008-08-28 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC

Operating system:
Windows XP Home edition Service Pack 2

Re: '-affinity' option documentated, but not implemented.

Posted: 2008-09-16T12:28:46-07:00
by magick
Use -map instead. The -affinity option will be available in just a few days.