Dynamic Bitmaps (JPEG) from SD card, scale and rotate using texture mapper.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-12 4:46 AM
From what I read we should be able to save JPEG images to an SD card, and then load these into a dynamic bitmap via a combination of FatFS (or whatever) and LibJPEG, in order to display. A couple of questions:
Could a texture mapper then use this image, so that we can apply scale and rotate?
Are scale and rotate purely done in software, I assume this is the case, but maybe it depends on the MCU?
I will be using the STM32U5G9J-DK2 for testing.
Many Thanks,
Anthony
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
‎2025-03-12 7:57 AM
Hello @AMars.4 ,
The STM32U5G5J-DK2 have NeoChrom VG that improve texture mapper rendering!
You could indeed get your image from an SD card and then load it to your texture mapper at runtime.
Here are some useful links to help you fetch data from an SD card:
https://support.touchgfx.com/docs/development/scenarios/using-non-memory-mapped-flash
https://www.youtube.com/watch?v=-0kFwp0ao6k
Regards,
Software engineer at ST (TouchGFX)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-12 5:23 AM
Seems like only the U599 / U5A9 parts have the NeoChrom GPU which is required for hardware scale & rotate, so not available for my target board, it would have to be done in software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-12 7:57 AM
Hello @AMars.4 ,
The STM32U5G5J-DK2 have NeoChrom VG that improve texture mapper rendering!
You could indeed get your image from an SD card and then load it to your texture mapper at runtime.
Here are some useful links to help you fetch data from an SD card:
https://support.touchgfx.com/docs/development/scenarios/using-non-memory-mapped-flash
https://www.youtube.com/watch?v=-0kFwp0ao6k
Regards,
Software engineer at ST (TouchGFX)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-12 8:07 AM
Thank you, yes I realised I was looking at some old documentation!
Good to know, I will test it :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-12 8:54 AM
My pleasure! :smiling_face_with_smiling_eyes:
Software engineer at ST (TouchGFX)
