(0x80040447) Failed to set the color lookup table. The method argument must be a 1-dimensional array containing exactly 256 Long values.

Self-explanatory