Every now and then I get a graphic file that I just can't get to display with a transparent background. In the design, I've selected the "transparent" box, and a transparent colour, and it displays transparent in the editor. But at run time, it's not actually transparent, it displays the colour. Some files work, some don't. They're all .png format. Is there something I'm missing?
Two files attached, one from design, and one at runtime.
One thing you might want to do is simply use the alpha, which png supports, instead of replacing all white pixels with a transparent pixel in the IEC application.
Best regards,
Marcel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried creating a test project, but I wasn't able to reproduce the issue in a simplified environment until today. It looks like the issue comes up whenever "Support client animations and overlay of native elements" is checked in the Visualization Manager.
I could disable that setting, but the only reason I've been using it is to support animated .gif files, which don't seem to work without it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Download package
Download package
Two files attached, one from design, and one at runtime.
Last edit: tvm 2021-06-01
Hey,
Do you have a project with this issue?
One thing you might want to do is simply use the alpha, which png supports, instead of replacing all white pixels with a transparent pixel in the IEC application.
Best regards,
Marcel
I tried creating a test project, but I wasn't able to reproduce the issue in a simplified environment until today. It looks like the issue comes up whenever "Support client animations and overlay of native elements" is checked in the Visualization Manager.
I could disable that setting, but the only reason I've been using it is to support animated .gif files, which don't seem to work without it.
Hello @tvm,
I tried to reproduce it with a small example and simply was not able to.
Sorry :/
Best regards,
Marcel