Someone wished for a routine able to save surfaces with an alpha channel.
I have a complete TGA surface save function, but I haven’t yet decided
whether it should go into SDL proper, into SDL_image or stay outside.
Meanwhile you may grab it from ftp://ptah.lnf.kth.se/pub/misc/savetga.c
and use it (consider it LGPL:ed for the moment). Please report any bugs
It saves any SDL surface, with or without alpha channel. It also preserves
colourkey transparency for indexed images and can optionally use RLE
compression
“Mattias Engdeg?rd” schrieb im Newsbeitrag news:200105101223.OAA14099 at my.nada.kth.se…
Someone wished for a routine able to save surfaces with an alpha channel.
I have a complete TGA surface save function, but I haven’t yet decided
whether it should go into SDL proper, into SDL_image or stay outside.
If it works okay without bugs put it in the SDL_image lib,
thats in my opinion the right place for it :=)
CU> Meanwhile you may grab it from ftp://ptah.lnf.kth.se/pub/misc/savetga.c
and use it (consider it LGPL:ed for the moment). Please report any bugs
It saves any SDL surface, with or without alpha channel. It also preserves
colourkey transparency for indexed images and can optionally use RLE
compression