Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

transparency

tvm
2021-06-01
2021-11-02
  • tvm - 2021-06-01

    Download package

    Download package

    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.

     

    Last edit: tvm 2021-06-01
  • m.prestel - 2021-06-02

    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

     
  • tvm - 2021-10-29

    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.

     
  • m.prestel - 2021-11-02

    Hello @tvm,

    I tried to reproduce it with a small example and simply was not able to.
    Sorry :/

    Best regards,
    Marcel

     

Log in to post a comment.