Improve support for indexed/cmap images
More algebra with colors