I wrote up a simple patch to add PNG-saving capabilities to SDL_Image. It almost works, too. Problem is, the colors come out all scrambled, and I don’t know enough C to figure out what’s wrong. Can anyone take a look at this and fix it up a bit?
1.) Load a PNG image with IMG_LoadPNG_RW.
2.) Save it with IMG_SavePNG_RW.
3.) See if they’re identical or not.
-------------- next part --------------
A non-text attachment was scrubbed…
Size: 11461 bytes
Desc: not available