Is it possible to change the image color?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-04 2:55 AM
Is it possible to change the color of the image or icon I created via GUI or code? The color of the .svg icons in Touchgfx's own native files can be changed via GUI, but I could not change the color of the .svg or .png images I created. There is no function called image.setcolor in the code. Is there a way to change the color of the image I created?
Thanks
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-04 3:02 AM
Hello @hamzatamer ,
No it's not possible, svgs and images are compiled when generating the code.
You could use a dynamic bitmap but it requires you to write your own code to perform that.
BR,
Louis B.
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-04 3:02 AM
Hello @hamzatamer ,
No it's not possible, svgs and images are compiled when generating the code.
You could use a dynamic bitmap but it requires you to write your own code to perform that.
BR,
Louis B.
ST Software Developer | TouchGFX
