support palette for monochrome bmp