1) bmp file palette may contain less than x^n colors 2) bmp file may use color indexes that are not in it's own palette
1) bmp file palette may contain less than x^n colors
2) bmp file may use color indexes that are not in it's own palette

shaozilee/bmp-js