Can I display colours with alpha channel in dynamic bitmap?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-29 6: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.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-01 1:52 AM
The application does not need to be 32-bit. TouchGFX knows how to blend ARGB8888 into an RGB565 framebuffer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-30 1:39 AM
Dynamic Bitmaps support multiple color formats including ARGB8888. There's your alpha. TouchGFX will handle the blending from there.
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-30 2: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-01 1:52 AM
The application does not need to be 32-bit. TouchGFX knows how to blend ARGB8888 into an RGB565 framebuffer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-07 10:53 PM
Hello AndrewM,
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre
