2020-09-18 01:43 AM
2020-09-18 06:50 AM
To modify pixels at run time you need to use a dynamic bitmap : https://support.touchgfx.com/docs/development/ui-development/touchgfx-engine-features/dynamic-bitmaps/
/Alexandre
2020-09-18 05:20 AM
Hello,
Could you be more precise ? What are you trying to do ?
Why do you want to change the colors of a bitmap ? Is it a bitmap from a png picture that was converted during compilation ?
/Alexandre
2020-09-18 05:31 AM
Hi Alexandre, I want to invert the colors of the bitmaps compiled from png programatically. I can do this for everything else on the screen by changing Color::getColorFrom24BitRGB().
2020-09-18 06:50 AM
To modify pixels at run time you need to use a dynamic bitmap : https://support.touchgfx.com/docs/development/ui-development/touchgfx-engine-features/dynamic-bitmaps/
/Alexandre
2020-09-18 07:24 AM
OK thanks, I'll take a look. Is there no better way to do this generally in the framebuffer or when rendering?