Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Add the ability to change the icon color #174

Open
andrewjswan opened this issue Dec 5, 2023 · 4 comments
Open

[FEATURE REQUEST] Add the ability to change the icon color #174

andrewjswan opened this issue Dec 5, 2023 · 4 comments

Comments

@andrewjswan
Copy link

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.

@lubeda
Copy link
Owner

lubeda commented Dec 5, 2023

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

@andrewjswan
Copy link
Author

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.

@lubeda
Copy link
Owner

lubeda commented Dec 5, 2023

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?

@andrewjswan
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants