gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Application to convert animated .gif to frames? [solved]

#166819 - Emmanuel - Thu Feb 19, 2009 4:44 pm

I need any application that can convert my gif animations into frames, any extension will do (.bmp, .png, another gif but not animated)

Any one know a good one? All I can find are "free to try" ones in Google... they are to be later converted with Grit to binary for FAT loading...


Last edited by Emmanuel on Mon Feb 23, 2009 2:34 pm; edited 1 time in total

#166820 - hacker013 - Thu Feb 19, 2009 5:22 pm

maybe just use libpicture from dragonminded, that one supports streaming from gif files.
_________________
Website / Blog

Let the nds be with you.

#166823 - Emmanuel - Thu Feb 19, 2009 5:44 pm

hacker013 wrote:
maybe just use libpicture from dragonminded, that one supports streaming from gif files.

The problem is I intend to use them in the midst of the game, and perhaps I'll need to stream wavs for music, so I don't want to stream any further, as I think that will affect framerate after adding that to multiplayer and the previously mentioned music streaming...
For what I know, which isn't alot, using a bin file is better on performance than using a gif directly.
There will be like 4 of those animations (one per player), so

gif streaming * 4 + wav streaming + dswifi + (512x512 | 1024x1024 scrolling Bgs) + physics + ...

and that equation doesn't look good...

#166891 - dantheman - Mon Feb 23, 2009 12:11 am

I know that Game Maker can load an animated sprite and split it into a single .bmp file that you can save to a new file, but I'm not entirely sure if it will be in the format you need for GBA usage (each frame appears next to the previous one horizontally, not vertically), and I don't know if it works in versions beyond 5.3a (as that's the last version I ever used of the program).

As a worst-case scenario, you could load up the .gif animation in Microsoft GIF Animator, delete every frame you don't need and save it as a new file, reloading the original animation and doing the same for every frame, before combining them all into one image with the Paste From function of MS Paint. Would be tedious and time-consuming, but would work.

Imagemagick might also be able to do something with it, but I have absolutely no clue about that.

EDIT: IrFanView can export each frame to an image in your choice of file format. From that point you just need to combine the multiple frames into a single image.

#166898 - hacker013 - Mon Feb 23, 2009 9:52 am

dantheman wrote:
I know that Game Maker can load an animated sprite and split it into a single .bmp file that you can save to a new file, but I'm not entirely sure if it will be in the format you need for GBA usage (each frame appears next to the previous one horizontally, not vertically), and I don't know if it works in versions beyond 5.3a (as that's the last version I ever used of the program).

As a worst-case scenario, you could load up the .gif animation in Microsoft GIF Animator, delete every frame you don't need and save it as a new file, reloading the original animation and doing the same for every frame, before combining them all into one image with the Paste From function of MS Paint. Would be tedious and time-consuming, but would work.

Imagemagick might also be able to do something with it, but I have absolutely no clue about that.

EDIT: IrFanView can export each frame to an image in your choice of file format. From that point you just need to combine the multiple frames into a single image.


Every version beyond 5.3a from game maker has still that function :)
_________________
Website / Blog

Let the nds be with you.

#166900 - Emmanuel - Mon Feb 23, 2009 2:33 pm

Yeah, I downloaded Game Maker... old memories come back... solved... I think it doesn't matter if the strip is vertical or horizontal btw...

#166917 - JLsoft - Tue Feb 24, 2009 2:21 am

*hugs Cosmigo Pro Motion*