Reply to Robert,
Stewart Gordon wrote:BMP - who in their right mind still uses this?Yeah, zero-overhead; who needs that?
if you want zero overhead use PPM in binary mode: 32bit color and about ~16 bytes of non image data that can be output by printf.
