Add bitmap header, and support for packed bitmaps from 1 to 4 bit depths