CITECT SCADA 2018 - Import the transparent picture in the Graphic Builder

Hello everyone

Now I am trying to import the transparent picture (PNG) into a page in Graphics Builder. But the *.PNG type are not supported the alpha channel according to the contents of this link "https://gcsresource.aveva.com/Citect/WebHelp/citect2018/Content/Import_Graphics.html"

As I know the alpha channel is a special channel that handles transparency. So, I would like to know how can I import the transparent picture in Citect?

I already tried 2 other ways, but the result is not successful.

1st: I tried to convert the PNG to a JPG file and import it again, but the background of the imported one is black and a part of the picture is missed. (the result same as PNG file)

2nd: I imported the PNG file (with the white background), and use the function "Swap color" from white to transparent. But the result is not 100% is transferred, maybe 60% or 70%.

Is there a special requirement or setting in Citect to do this? 

 

Thanks and best regards

Canh

 

Parents
  • Unfortunately, there's not really another way as far as I know.

    PNG should be fine though, it is a losless compression format. Avoid JPG as it is lossy, and the color you want to replace will not be 100% accurate after importing.
    BMP should also work, but maybe during conversion from PNG you chose a BMP feature that is not compatible with Citect, like alpha-channel or compression, etc..

    I always replace the transparent color with a very distinctive, non-used color (like bright purple) in an external bitmap editor, and I make sure to note the RGB value of that color.
    After importing it into Citect, I use the color swap tool, just like Nuno described, to swap that color back to transparent.

    Unfortunately Graphics import is a feature in Citect that never got updated with more modern graphics formats. The Help section clearly proves that with the statement "Windows 3.0 bitmaps (*.BMP, *.DIB, *.RLE)". Windows 3.0 is more than 30 years old...
Reply
  • Unfortunately, there's not really another way as far as I know.

    PNG should be fine though, it is a losless compression format. Avoid JPG as it is lossy, and the color you want to replace will not be 100% accurate after importing.
    BMP should also work, but maybe during conversion from PNG you chose a BMP feature that is not compatible with Citect, like alpha-channel or compression, etc..

    I always replace the transparent color with a very distinctive, non-used color (like bright purple) in an external bitmap editor, and I make sure to note the RGB value of that color.
    After importing it into Citect, I use the color swap tool, just like Nuno described, to swap that color back to transparent.

    Unfortunately Graphics import is a feature in Citect that never got updated with more modern graphics formats. The Help section clearly proves that with the statement "Windows 3.0 bitmaps (*.BMP, *.DIB, *.RLE)". Windows 3.0 is more than 30 years old...
Children
No Data