RE: Transparent color

2010-04-26 Thread CHAN, KENNETH 1 [AG/7721]
Thanks Shawn. But still not working. > -Original Message- > From: Shawn H Corey [mailto:shawnhco...@gmail.com] > Try: > my $img = new GD::Image(100,100,1); [CHAN] Same as before, no difference. --

Re: Transparent color

2010-04-23 Thread Shlomi Fish
On Friday 23 Apr 2010 15:03:19 Shawn H Corey wrote: > CHAN, KENNETH 1 [AG/7721] wrote: > > First of all, thanks Owen, Shlomi and Shawn for your advices. > > But I still can't get the line appear on the transparent circle. I am > > guessing maybe there is a problem with my Perl setting or something.

Re: Transparent color

2010-04-23 Thread Shawn H Corey
CHAN, KENNETH 1 [AG/7721] wrote: First of all, thanks Owen, Shlomi and Shawn for your advices. But I still can't get the line appear on the transparent circle. I am guessing maybe there is a problem with my Perl setting or something. Please see in text comments. Try: my $img = new GD::Image(10

Re: Transparent color

2010-04-23 Thread Owen
On Fri, 23 Apr 2010 15:04:27 +0800 "CHAN, KENNETH 1 [AG/7721]" wrote: > First of all, thanks Owen, Shlomi and Shawn for your advices. > But I still can't get the line appear on the transparent circle. I am > guessing maybe there is a problem with my Perl setting or something. > Please see in text

RE: Transparent color

2010-04-23 Thread CHAN, KENNETH 1 [AG/7721]
First of all, thanks Owen, Shlomi and Shawn for your advices. But I still can't get the line appear on the transparent circle. I am guessing maybe there is a problem with my Perl setting or something. Please see in text comments. > -Original Message- > From: Owen [mailto:rc...@pcug.org.au

Re: Transparent color

2010-04-22 Thread Shawn H Corey
CHAN, KENNETH 1 [AG/7721] wrote: Hi all, I used colorAllocateAlpha to specify a transparent color. After filling a circle with it, I don't see the background line which is drawn before. The code is pasted below. What did I do wrong here? Thanks. The alphaBlending may be in the wrong mode.

Re: Transparent color

2010-04-22 Thread Shlomi Fish
On Thursday 22 Apr 2010 12:12:34 CHAN, KENNETH 1 [AG/7721] wrote: > Hi all, > > I used colorAllocateAlpha to specify a transparent color. After > filling a circle with it, I don't see the background line which is drawn > before. The code is pasted below. What did I do wrong here? Thanks. I thin

Re: Transparent color

2010-04-22 Thread Owen
> Hi all, > > I used colorAllocateAlpha to specify a transparent color. After > filling a circle with it, I don't see the background line which is > drawn > before. The code is pasted below. What did I do wrong here? Thanks. I rewrote your script to write to the hard drive. The background lin