I need to convert a GIF image to Jpeg image using C programming language. I searched the web, but I didn’t find an example which could help me. Any suggestion are appreciated!
EDIT: I want to do this using an cross-platform open-source library like SDL.
I found libafterimage to be incredibly simple to use.
In this snippet I also scale the image to at most
widthor at mostheight, while preserving aspect: