Someone from Yamasoft.com posted a script on PHP.net that's designed to create a png from a gif. The sample code he included took it from Gif->Png->Jpg. I tested it with an animated GIF, and sure enough, it made a JPG out of the first frame.
Has anyone used it, know of it, know anything about it in terms of security? I love it because... it works. I gave the scripts once over, uploaded both of them, and it worked right away without installs or recompiles or anything, but I don't want to use it if it's not secure.
I have a copy of the code on my server:
http://night4554.com/galanttest/gif.txt