[SDL] SDL2 save Surface as PNG

LBandy lbandy3 at gmail.com
Sun Oct 27 13:00:40 PDT 2013


I'm trying to use the SavePNG written by Driedfruit. Right now I'm facing two problems:
- upon saving a surface, all colors are turned to blue on the output png
- the saved png file is only accessable after closing the application

Any advices how to solve these?

------------------------
Runic Girls - a hexa match3 game with girls created using SDL 2.0:
http://www.facebook.com/RunicGirls

Gameplay trailer:
http://www.youtube.com/watch?v=yMGdfNHGhIU&hd=1




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20131027/f2dd4000/attachment-0009.htm>


More information about the SDL mailing list