Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Resizing Gif Problems

transparency goes black, animation lost

5:08 pm on Apr 5, 2007 (gmt 0)

Full Member

10+ Year Member

joined:Jan 27, 2005
votes: 0

I have a script that is resizing gif images. There is a problem if the gif has a trasparent background, the background turns black. Also any animation in the gif is lost. Any suggestions? This is a portion of the code:

for($i=0;$i<256;$i++) imagecolorallocate($thumb,$i,$i,$i);

8:31 pm on Apr 5, 2007 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 19, 2003
votes: 2

Read HERE [webmasterworld.com]