The bitmap output was from Photoshop, saving those on the post will give bad results though because of JPEG artefacts. Outside of that, I can't tell you much; consult the bitmap reader documentation or bitmap file format spec.