2020-11-29 06:09 PM
Here: https://support.touchgfx.com/docs/development/ui-development/touchgfx-engine-features/dynamic-bitmaps I can see how to set RGB 565 colours into a dynamic bitmap. I'm wondering how to achieve alpha blending in a dynamic bitmap?
Solved! Go to Solution.
2020-12-01 01:52 AM
The application does not need to be 32-bit. TouchGFX knows how to blend ARGB8888 into an RGB565 framebuffer.
2020-11-30 01:39 AM
Dynamic Bitmaps support multiple color formats including ARGB8888. There's your alpha. TouchGFX will handle the blending from there.
/Martin
2020-11-30 02:05 PM
Thanks Martin, so just to clarify, instead of having an RGB565 dynamic bitmap (as I currently have), and setting a colour within the bitmap using a 16 bit number and then having to calculate any alpha blending manually myself (which I was about to start figuring out), I would instead just use an ARGB8888 dynamic bitmap and set a colour/alpha within it using a 32 bit number, nothing more to do - correct?
2020-12-01 01:52 AM
The application does not need to be 32-bit. TouchGFX knows how to blend ARGB8888 into an RGB565 framebuffer.
2020-12-07 10:53 PM
Hello AndrewM,
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre