cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX: Scalable Image Memory Allocation Calculation

KMew
Senior III

Hello,

I am trying to optimize a TouchGFX project to see if I can fit it all in a 1 MB internal flash (stm32h725agi6).

The design our graphic designers have come up with are requiring the same image, but two different sizes. This leaves two options:

1) Store two static images in the flash

2) Store one scalable image in the flash

I'm having a hard time deciding because I cannot find information on the memory allocation for the Scalable Image feature in TouchGFX. Can someone please explain how this is done?

1 ACCEPTED SOLUTION

Accepted Solutions
MM..1
Chief

Scalable isnt flash image. Only render handle scale... Then for good show you have 3 ways

A store middle size image and use scale up and down on show
B store image with bigger size only and second scale down
C store both images, but maybe svg format use is best

View solution in original post

2 REPLIES 2
MM..1
Chief

Scalable isnt flash image. Only render handle scale... Then for good show you have 3 ways

A store middle size image and use scale up and down on show
B store image with bigger size only and second scale down
C store both images, but maybe svg format use is best

Thank you for the reply MM!

Doing this test helped clarify it quite well.