Libnsbmp is a decoding library for BMP and ICO image file formats, written in C. It was developed as part of the NetSurf project and is available for use by other software under the MIT licence.
You can browse the source code via the online interface. Alternatively, you can check it out with Git:
$ git clone git://git.netsurf-browser.org/libnsbmp.git
Libnsbmp is licensed under the MIT Licence.
If you would like to discuss Libnsbmp, please join the NetSurf developer mailing list.