[SDL] SDL_image save image to file
llxxnntt at gmail.com
Wed Jan 27 11:33:47 PST 2016
You can try the untested indexed PNG save/load here:
It should save colorkeyed paletted SDL_Surface as a paletted PNG with only
that color set to transparent (all others opaque).
It should load such file to a paletted surface, and set the colorkey the
Not tested in any way. Will appeciate test-cases, images, SDL_Surface
dumps, etc. This lib is in dire need of tests.
Once it's tested and known to work I'm sure porting the support to
SDL_image won't be a problem.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL