04-09-2024 09:40 AM
Hallo !
I need to resize several 2D PICTURE indicators showing images with transparent background. I would like tu use the "zoom Factor" property.
Unfortunately I have found that appling a Zoom factor other than 1 , the trasparent background (set using the mask in image components) is set back to the original color.
Is it a bug or there is something worng in my programming?
Thanks in advance.
Luca Nitopi
Solved! Go to Solution.
04-09-2024 10:24 AM
No, I don't see any troubles with transparent background and alpha:
Show your code, please.
04-17-2024 02:27 AM
Hallo!
Thank you for your kind answer.
My problem is that I have to load images from PNG files with transparent background.
Using standard load function transparency information is lost
Using "create mask" function I can show images with transparency, but only with "zoom factor =1" :
Is there something wrong in loading files?
Thank you!
04-17-2024 05:40 AM
04-17-2024 05:50 AM
@Luca_Nitopi wrote:
Is there something wrong in loading files?
You should pass alpha mask, the following snippet could be helpful for you:
seems to be OK:
04-17-2024 08:17 AM
OK. Thanks!