Setting an Alpha/Opacity value for a Draw fill

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
User avatar
magick
Site Admin
Posts: 11150
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

To set alpha to say 50% in the PerlMagick Draw() method, try
  • $im->Draw(fill=>"rgba(255,0,0,0.5)",...);

Post Reply