Deprecated functions

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
168gr
Posts: 47
Joined: 2013-01-09T22:46:19-07:00
Authentication code: 6789

Deprecated functions

Post by 168gr »

Is there comprehensive documentation of deprecated functions someplace, along with information concerning the new/preferred way to accomplish a task without them?

I have some functioning code that does exactly what I want it to, but when compiling it produces a warning:

warning: ‘DrawSetFillAlpha’ is deprecated (declared at ./include/wand/deprecate.h:167)


My search through the docs found this page:
http://www.imagemagick.org/api/deprecate.php
but it doesn't address the above function.

It's listed here:
http://www.imagemagick.org/api/magick-deprecate.php
but the entry for DrawSetFillAlpha doesn't say anything about how it has been superseded.

Thanks.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Deprecated functions

Post by magick »

Use DrawSetFillOpacity() instead.
168gr
Posts: 47
Joined: 2013-01-09T22:46:19-07:00
Authentication code: 6789

Re: Deprecated functions

Post by 168gr »

Thanks very much. :)
Post Reply