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-06-02
  • tvm

    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

    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

     

Log in to post a comment.