use correct LZW and NeuQuant code, add getColorMap to latter