Perhaps you want to support PBM/PGM/PPM? (Portable
Bit/Gray/Pixel Map)
If you decide to do this, we can use my code for it.
It's a simple format though and I only really use it for
testing stuff, so you may not want it on the grounds
that it's clutter.
Logged In: YES
user_id=387078
I can get it to read/write PGM and PPM okay (more or less)
I'll try and clean it up a bit more before perhaps submitting it
though.