2020-06-08 09:41 AM
Hello,
I plan to try to use your Graphic library on a custom board with a STM32H7
but first reading doc and use of touchdesigner
I'am asking if it is possible to use img that are stored in a file system ( sd card or qspi)
rather than image converted buy img converter an embedded in application flash ?
kind regards
heve
2020-06-09 12:24 AM
Hi,
It is possible to use images stored in a sd card but you will need to use dynamic bitmaps and bitmap caching. TouchGFX cannot render directly from a non-memory mapped flash (like an SD-card) so to overcome this limitation the bitmap cache provides a mechanism for caching some or all of the bitmap data in RAM during power-up. Here are the link to the articles on this: bitmap caching and dynamic bitmaps
If you have images in JPEG format for example you will need to add a loader, you can read more about it in this documentation. On the bottom of the page there is a link to a git repository with an example on how to use LibJPEG to use JPEG files.