PDA

View Full Version : outputing to compressed image formats



Hugh
12-07-2001, 03:03 AM
I am looking for a way to output an the contents of an openGL window to a compressed image format. It is important that I am able to support the widest range of formats (PNG especially important) and platforms (linux, solaris and irix minimum). I can already output to PPM (uncompressed) and EPS (specify each line individually).

Bob
12-07-2001, 06:39 AM
Use some third party libraries. Here's some links to libraries for the most common formats.

PNG (http://www.libpng.org/pub/png/)
JPEG (http://www.ijg.org/)
TIFF (http://www.libtiff.org/)