'-affinity' option documentated, but not implemented.

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
paul.verschoor

'-affinity' option documentated, but not implemented.

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

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

Post by magick »

Use -map instead. The -affinity option will be available in just a few days.
Post Reply