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?