Forum Moderators: coopster

Message Too Old, No Replies

imageCopyResampled issue

Transparency gets 0,0,0 color

         

asantos

4:03 pm on Dec 29, 2006 (gmt 0)

10+ Year Member



Hi. Im having trouble by resampling GIF images that have transparencies.

Once resampled, the transparent pixeles get a 0,0,0 (black) color. Because the background of the site is white (255,255,255) how can i achieve that?

Thanks

henry0

6:29 pm on Dec 29, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are pics without transparency coming OK?
often a black pic (wholy black) is the result of something in your script going wrong

Or are only the areas of an image supposed to be transparent showing in black?

asantos

1:01 am on Dec 30, 2006 (gmt 0)

10+ Year Member



actually the image is displaying alright. The ONLY problem is that the pixels that should be transparent are actually black.

How can i solve that?

asantos

5:34 pm on Dec 30, 2006 (gmt 0)

10+ Year Member



any ideas?

henry0

5:38 pm on Dec 30, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try THIS
[us2.php.net]

asantos

12:48 am on Jan 1, 2007 (gmt 0)

10+ Year Member



solved. thanks.