Open andrewjswan opened 9 months ago
Hi, why not use the small bitmap command? I don't see the use case. Can you explain i little bit more or give a sample
A bitmap is a way out, I agree, but only for static icons, and if we have an animated icon, for example lameid: 14429
, then we won’t be able to use a bitmap.
ok so you like to manipulate a dual color gif eg. black and red like in 14429 and you will change every red pixel to the specified color?
Yes, but not everyone is red, and everyone is not black, i.e. If the color is displayed, change it to the one that is specified. And so on every call to this service.
Feature Request
Describe the solution / feature you'd like
Let's say we have an icon with some image, but we need to display it in different colors (green, yellow, red) depending on the value. We call the service
icon_set_color(icon_name, r ,g ,b)
which changes all significant points of the icon to the specified color. Those. instead of three (or more) icons, we only need one, and we can display it in different colors.