re: 09-May-2002 11:31
Seems gif2png is no longer at http://www.tuxedo.org/~esr/gif2png/
I found a Win32 version at http://www.r1ch.net/stuff/gif2png/
(for the Unix and source, see http://catb.org/~esr/gif2png/ )
In Win32,
passthru("gif2png $filename");
works fine if gif2png.exe is in the path.
It will overwrite the file with .png extension, so be careful,or use temp files as in the post referenced above (without the -O; type "gif2png" at the command line for the options).
I had a problem with exceeding the default 30 second execution time limit in PHP, so I added this line
set_time_limit(0); // some odd gifs take a long time (example, a 25K gif, 700x700, mostly blank)