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

Allow to change foreground color of Bitmap image #260

Open
birbilis opened this issue Jul 14, 2022 · 0 comments
Open

Allow to change foreground color of Bitmap image #260

birbilis opened this issue Jul 14, 2022 · 0 comments
Assignees
Labels
EditMode enhancement New feature or request

Comments

@birbilis
Copy link
Contributor

Version: 0.7.1

should be able to change foreground color for a bitmap image (replace all non-transparent pixels with that)

note that compared to the same action that SVG supports, this would be a non-revertable action even if one clears the foreground color (currently UI doesn't allow to clear it back to default/clNull), since it would be too costly to keep two bitmaps in memory (to store the original one)

alternative is to do the operation via a shader instead of touching the bitmap (to set its opaque color)

@birbilis birbilis added the enhancement New feature or request label Jul 14, 2022
@birbilis birbilis self-assigned this Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EditMode enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant