Saving images

Hi,
how can i save image into something else then BMP? I search through
source code and i didn’t find something. (in SDL and SDL_image)
can someone give me a clue?
Thanks
Jan Kratochvil

I don’t know about SDL_image, but if that cannot save else than BMP you
could try DevIL (was first named OpenIL). With that you can easily save to
almost any image format with just one line of code.

http://sourceforge.net/projects/openil/> ----- Original Message -----

From: honza@twin.jikos.cz (Jan Kratochvil)
To:
Sent: Sunday, August 19, 2001 9:46 PM
Subject: [SDL] Saving images.

Hi,
how can i save image into something else then BMP? I search through
source code and i didn’t find something. (in SDL and SDL_image)
can someone give me a clue?
Thanks
Jan Kratochvil


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Jan Kratochvil wrote:

how can i save image into something else then BMP? I search through
source code and i didn’t find something. (in SDL and SDL_image)
can someone give me a clue?

SDL_image doesn’t have image saving capabilities yet but it’s planned.
Meanwhile, try ftp://ptah.lnf.kth.se/pub/misc/savetga.c for saving in
the TGA format