shaozilee/bmp-js — pull request #1 by igor-bezkrovny (2014-10-19 10:33:11+00:00)
Title: bmp frequently contain less than x^n colors

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