The DrawMatte() method is now called DrawAlpha()

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
Dzedro
Posts: 1
Joined: 2018-09-04T03:05:49-07:00
Authentication code: 1152

The DrawMatte() method is now called DrawAlpha()

Post by Dzedro »

There was this change: The DrawMatte() method is now called DrawAlpha().
Shouldn't be also -draw matte example in Transparent Canvas updated ?

Code: Select all

convert test.png -alpha set -fill none  -draw 'matte 0,0 reset' 
color_matte.png
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: The DrawMatte() method is now called DrawAlpha()

Post by fmw42 »

-draw 'matte 0,0 reset' has become -draw 'alpha 0,0 reset' in ImageMagick 7
Post Reply