This sounds like a school project

I don't think it would take much effort to do the whole thing yourself, as said by others, just look at the BMP spec to get what headers you need and just output the image to file.
I'm tempted to try this myself now just for personal interest...