[SDL] [SDL_image] Loading several images from a file

Roman Kyrylych roman.kyrylych at gmail.com
Sat Jul 15 06:41:20 PDT 2006


Hello!

2006/7/15, Torsten Giebl <wizard at syntheticsw.com>:
> > There are some image file formats (like gif for example) that can
> > contain several images. However, there is no function in SDL_image to have
> > access to all the images.
> >
> > It would be nice/useful to have a function to load such a file, and
> > return an array of SDL_Surface, for each image present in the file.
>
> Great Idea. For anim formats like gif you need add.
> data like time to wait between two frames.
> gif, flc, fli

There is also SDL_flic (http://www.geocities.com/andre_leiradella/) and SDL_mng.
It will be very good to have SDL_anim, SDL_flic and SDL_mng integrated
into SDL_image. Can this be done in SDL_image 1.3?

-- 
Roman Kyrylych (Роман Кирилич)


More information about the SDL mailing list