2020-03-05 05:15 PM
Now I need to download a jpg/png/bmp picture to FLASH, and show it . I do not find touchgfx have anything with that. If I want to use touchgfx, how can I do?
Solved! Go to Solution.
2020-03-11 07:20 AM
You have to use the Bitmap class, either using static image data located somewhere in addressable flash, or using a dynamic bitmap.
/Martin
2020-03-06 04:30 AM
Hi, when you create a project with TouchGFX designer you can add a .png image easily with the Image widget. See tutorial 1 here to set up a background image. Any image you import can be set the same way.
If this is not what you are looking for, please explain what you wish to do in your project with more details.
2020-03-06 04:37 AM
Depending on your setup, the linker will place your bitmap in internal or external FLASH memory for you and TouchGFX will know the address for that image when you use it with the Bitmap class.
/Martin
2020-03-06 07:04 PM
Sorry, my fault. I mean I already make the whole program using TouchGFX designer and download the program to my devie. When freeRTOS is already running, I need to download some pictures to FLASH, I want to view pictures with my device.
2020-03-11 04:18 AM
If I do not use it with the Bitmap class. How do I do?
2020-03-11 07:20 AM
You have to use the Bitmap class, either using static image data located somewhere in addressable flash, or using a dynamic bitmap.
/Martin
2020-03-11 06:24 PM
Thanks,I find bitmap class in Bitmap.hpp. That helps a lot.