IL_BGRA input yields corruption in compressed formats
A full featured cross-platform image library
Brought to you by:
doomwiz
I'm using ilSetPixels to create images from preexisting
framebuffers.
When feeding it BGR data, everything works beautifully.
However, when feeding it BGRA, only uncompressed
formats are written correctly (BMP, TIFF, TARGA) --
formats like JPEG, PNG, etc. produce images corrupted
in various ways. I can provide screenshots if that helps.