I don't mess with gif anymore. Whenever I code anything that deals with gif image, one line of code converts the gif to png.
exec("command.com /c start gif2png -d -r -n -t -O $gif_image");
You must place a small program called gif2png.exe in the same directory, for this to work.
Richie.
geocities.com/akindele/