BMP Writer

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?

-Mike Powers


Not a REAL helper, but anyway.
Go to and look at
the various BMP docs. It is pretty
simple to save .bmp’s.

Just a though,