[magick-users] How to draw a transparent rectangle on top of a line using PerlMagick and output to a .bmp file

Min Yan MYan at rblt.com
Fri Oct 31 06:57:25 PDT 2008


Hi,

      I am using Perl ImageMagick.  I first draw a black line using Draw
method.  Then I set the green to be transparent using,

       $image->Transparent(color=>'green');

      Then I Draw a green rectangle on top of the line.  But the line
cannot be seen, which means the green rectangle is not transparent.  Can
anyone help?

 

Min

 



More information about the Magick-users mailing list