Reading/Writing File formats

BlitzMax Forums/BlitzMax Programming/Reading/Writing File formats

Does anyone have example(s) of how to read/write bmp, jpg, png files?

I'm looking at the wotsit.org site and although intrigued at all of the usefull file formats, I am not sure what to do with them.

Any help of reading/writing byte by byte information would be great.

Thanks.