Das hier könnte vielleicht helfen: http://www.fastgraph.com/help/image_...r_formats.html
Der Header eines bitmaps ist nicht wirklich kompliziert.