Decoding library for BMP and ICO file formats