Colorspace argument for MapColors
|
|
|
Status: |
Open
Issue hasn't been assigned a status value.
|
|
|
The color matrix filter allows for a colorspace argument but can't be baked into an icon for use in icon operations like blend. For RGB operations the MapColors is a close match but is unable to act on other colorspaces like HSV. Allowing MapColors the same ability to act on other colorspaces would be useful for things which a premade icon is more convenient.
The particular example that triggered this request is to support part of an icon generator that assembles icons from many greyscale layers each colored differently, useful for things like player customized clothing colors that colors the inside and outside of a jacket differently. HSV MapColors would make some more advanced shading techniques possible.
Something like:
MapColors(color_matrix, space=COLORSPACE_HSV)
|