Andrea Viarengo wrote:
> SDL_image can only import image in vary formats, but at the moment we
> can only save file as BMP.
I intend to add PNG saving support to our SDL_image as soon as I need it
for saving hotspot maps (code for that is around, the topic comes up
every now and then on the SDL mailing list).
> 1) search some other library which permit to save image at least in GIF,
> JPG and PNG
Keep in mind that decompressing a JPEG image, rotating it, and
compressing it again is not a good idea. It is possible to losslessly
rotate JPEGs, but I don't know if there's a library suitable for our
purposes that does it.
-Christian
|