Formats Supported by SDL

Does SDL have plans to support any other image type than windows BMPs?
I have a raytracer which produces PNG’s, TGAs and a couple others. I
suppose I will have to either find a good image converter or write one.

I’d like to see a good console based one.

I’d write it myself but if someone else already has then I won’t bother.

Dave

Does SDL have plans to support any other image type than windows BMPs?
I have a raytracer which produces PNG’s, TGAs and a couple others. I
suppose I will have to either find a good image converter or write one.

There’s the “SDL_Image” library. It loads PNGs, JPGs, TIFFs, and a few
others…

I’d like to see a good console based one.

For console-based conversions, check out the NetPBM library. It uses
the “PBM”, “PGM” and “PPM” formats as a base, and lets you convert
between many formats and them, and them and many formats.

For example, to convert a GIF to a TIF, you’d run:

giftoppm file.gif | ppmtotiff > file.tif

-bill!

I’d like to see a good console based one.

The “convert” utility in ImageMagick will do almost anything you want,
directly.–
Graeme Lennon -=- @Graeme_Lennon -=- Montreal, Canada
… deadening the flow of relentless biography …