Okay, I was thinking about this today, and I was mostly curious:
Say I made a paint program and I wanted to save a picture. For arguments sake, any settings will do (50x50 16 color 255 color 755x098879, etc).
Would I go about it like I would read it in? Write out the header etc? Has anyone else here done this before?