Skip to main content
KMew
Senior III
November 15, 2023
Solved

TouchGFX: Scalable Image Memory Allocation Calculation

  • November 15, 2023
  • 1 reply
  • 1635 views

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?

This topic has been closed for replies.
Best answer by MM..1

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

1 reply

MM..1
MM..1Best answer
Chief III
November 15, 2023

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

KMew
KMewAuthor
Senior III
November 15, 2023

Thank you for the reply MM!

Doing this test helped clarify it quite well.