Skip to main content
heyo
Associate III
March 10, 2023
Solved

Scale image

  • March 10, 2023
  • 2 replies
  • 1015 views

Can I scale image with TOUCHGFX at runtime? I need to change image width depends on text long

This topic has been closed for replies.
Best answer by Osman SOYKURT

Hello heyo,

Yes it's exactly what a texture mapper widget is meant for :)

I invite you to have a look on the "Scale and Zoom Example" we provide on TouchGFX Designer, it does what you asked.

0693W00000aIfPlQAK.png 

/Osman

2 replies

MM..1
Super User
March 10, 2023

Yes

Osman SOYKURT
Osman SOYKURTBest answer
ST Technical Moderator
March 10, 2023

Hello heyo,

Yes it's exactly what a texture mapper widget is meant for :)

I invite you to have a look on the "Scale and Zoom Example" we provide on TouchGFX Designer, it does what you asked.

0693W00000aIfPlQAK.png 

/Osman

ST Software Developer | TouchGFX