PDA

View Full Version : BMP Writer



08-17-2000, 07:53 AM
Hello, I am looking for a BMP writer functions that was referenced in an earlier post: "Capturing a OpenGL image into a JPEG (or other bitmap)". It referenced a function:

extern void write_bmp24(FILE *fp, int width, int height, GLvoid *pixels);


To create a 24-bit bitmap file. Could someone send me the implementation of this function?

Thanks,
-Mike Powers

Cruxis
08-17-2000, 10:18 PM
Hi,

Not a REAL helper, but anyway.
Go to www.wotsit.org (http://www.wotsit.org) and look at
the various BMP docs. It is pretty
simple to save .bmp's.

Just a though,

-cruxis.