ID:2805364
 
Applies to:
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)
Bump, I've got some feature requests from spriters for the previously mentioned system that has been on hold until something like this is possible.
In the meantime, you can use client.RenderIcon() (515+) to turn the results of transforms and the sort into a proper /icon.
We use this system to generate a large amount of assets which we display to all our clients.
This makes it very suspect to trust the client to not send like, gore back. It also introduces latency into the system, prevents it from functioning in environments with no client (Profiling startup), and also lacks full functionality with icon code.

We could in theory use RenderIcon as a midstep but it would be a little bit deranged and open us up to exploitation, and it would frankly be better for MapColors to just support the thing all the other color matrix systems support.