Game Development Community

Convert animated GIFs into PNG?

by Marcus Giese · in Torque Game Builder · 12/07/2007 (2:36 pm) · 3 replies

I realize that this is not strictly a Torque question, but does anyone know of an image editing/conversion tool that would take the frames from an animated GIF and turn them into the "cell' format PNG used by the Game Builder. I have lots of nice animated GIFs that would be fun to use, but it'd be quite a bit of work to manually convert them. I did use the Forum search and it looks like some was looking for something like this for the TGE, but I don't have access to the answer.

Thanks, Marcus

#1
12/07/2007 (5:25 pm)
There used to be a bunch of quick and dirty programs to break up animated GIF's, but most of the searches I did to try to find one came up empty. I am not sure since I haven't touched an animated GIF in years, but can Photoshop or GiMP load them as layered images so that you could get each frame out? It seems that someone had posted a plug-in for Photoshop that would take a number of layers and create a sprite sheet from them in CS2 or CS3.

Sorry I couldn't be more help. I know a lot of people use GlueIt to take the images and make them back into a sprite sheet, though.
#2
12/07/2007 (10:18 pm)
Thank you David, you were actually very helpful. I tried a search earlier, but didn't realize that I should be looking for "sprite sheet"; I was trying combinations of PNG, Cells, animated GIFs, etc. Anyway, searching for sprite sheet and animated gif turned up a program called Avi4Bpm at: http://www.bottomap.com/Software/A4B/A4B.html

it's free, and will convert an animated gif to a sprite sheet; I tried it on a number of images, loaded them into the Animation Builder and it worked great. I also downloaded GlueIt, and that will come in handy.

Thanks for the quick response and the great tip.

Marcus
#3
12/08/2007 (8:05 am)
Very nice! I think that was the one that I had been looking for, too!