Page 1 of 1

Uploading animated gifs using GD library

Posted: Fri May 22, 2009 5:08 pm
by icecandy
So the script im using uses imagecreatefromgif but when I use it with an animated gif it only takes the first frame. I read that GD2 supports animated gifs and that is what my server had installed so im wondering why it wont work? does anyone know how to get this to work or what other function I can use so that the image wont loose its animation?

thanks

Re: Uploading animated gifs using GD library

Posted: Fri May 22, 2009 6:43 pm
by requinix
The GD bundled with PHP does not support animated GIFs. The version that does has to be compiled in separately - that is, manually.