get_padding
int32 padding = get_padding(width, bitsperpixel);
int32 padding = get_padding(msheader.width, msheader.bitsperpixel);