2024-12-04 02: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.
2024-12-04 03: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.
2024-12-04 03: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.