[magick-users] How to draw a transparent rectangle on top of a line using PerlMagick and output to a .bmp file
Fred Weinhaus
fmw at alink.net
Fri Oct 31 11:31:29 PDT 2008
I know nothing about PerlMagic, but why don't you reverse the process
and draw the green rectangle first and then draw the black line on
top of it.
>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