Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#29 IL_BGRA input yields corruption in compressed formats

open
nobody
None
5
2003-04-12
2003-04-12
Richard Berg
No

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.

Discussion