MVP 2023 Flex727 Posted February 26, 2015 MVP 2023 Report Share Posted February 26, 2015 I'm working on a UniStream project and I've got a simple question. In VisiLogic, an image could have a transparent background by checking the appropriate box in the image properties. When that box was checked every pixel in the image that was the same as the pixel in the upper left corner would assume the color of the background, thus rendering the parts of the image "transparent". I can't find a similar option in UniLogic. In the Help file, there is mention of something identified as "Background Color \ Image" which looks like it might apply, but that property is not present in my version of UniLogic (1.12.20) when I select the image. What am I missing? Link to comment Share on other sites More sharing options...
R.Mozes Posted March 2, 2015 Report Share Posted March 2, 2015 Hello, UniLogic able to support PNG images and VisiLogic doesn't support PNG properly as it converted into a bitmap in Vision PLC. PNG originally can be transparent so UniLogic don't need any dedicated tool. I hope it helps.. 2 Link to comment Share on other sites More sharing options...
HigHTech Posted March 3, 2015 Report Share Posted March 3, 2015 I'm working on a UniStream project and I've got a simple question. In VisiLogic, an image could have a transparent background by checking the appropriate box in the image properties. When that box was checked every pixel in the image that was the same as the pixel in the upper left corner would assume the color of the background, thus rendering the parts of the image "transparent". I can't find a similar option in UniLogic. In the Help file, there is mention of something identified as "Background Color \ Image" which looks like it might apply, but that property is not present in my version of UniLogic (1.12.20) when I select the image. What am I missing? I'm working on a UniStream project and I've got a simple question. In VisiLogic, an image could have a transparent background by checking the appropriate box in the image properties. When that box was checked every pixel in the image that was the same as the pixel in the upper left corner would assume the color of the background, thus rendering the parts of the image "transparent". I can't find a similar option in UniLogic. In the Help file, there is mention of something identified as "Background Color \ Image" which looks like it might apply, but that property is not present in my version of UniLogic (1.12.20) when I select the image. What am I missing? Hi Flex727 You need to convert your bmp images to png, then you need to convert the background to alfa (transparent). Unistream is really amazing when you need to work with images, etc. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted March 3, 2015 Author MVP 2023 Report Share Posted March 3, 2015 Got it! Thanks, guys. 1 Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted March 11, 2015 Author MVP 2023 Report Share Posted March 11, 2015 This still doesn't seem to be working right. I took my Bitmap images, converted them to PNG, then used a program called "paint.net" to delete the background color, then saved. After loading into the UniLogic software, the background of the image is white, both on the screen in UniLogic and on the PLC screen. What am I missing? Is there some other setting I need to adjust? Link to comment Share on other sites More sharing options...
HigHTech Posted March 12, 2015 Report Share Posted March 12, 2015 This still doesn't seem to be working right. I took my Bitmap images, converted them to PNG, then used a program called "paint.net" to delete the background color, then saved. After loading into the UniLogic software, the background of the image is white, both on the screen in UniLogic and on the PLC screen. What am I missing? Is there some other setting I need to adjust? This still doesn't seem to be working right. I took my Bitmap images, converted them to PNG, then used a program called "paint.net" to delete the background color, then saved. After loading into the UniLogic software, the background of the image is white, both on the screen in UniLogic and on the PLC screen. What am I missing? Is there some other setting I need to adjust? If you convert from BMP to PNG then no alfa channel is define. So first you need to use the command color to alfa. I recommend the software GIMP (it´s a free software and very powerful). You can find a lot of YouTube tutorial about adding transparency to a PNG using GIMP. If you need more help please send me an email to : ober.yela@Imapsa.com I can send the links. 2 Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted March 12, 2015 Author MVP 2023 Report Share Posted March 12, 2015 Many thanks, HigHTech. I got it working now. Paint.net works, but I didn't realize that you have to save the PNG as 32-bit. I was using 24-bit without realizing that the extra 8 bits is the transparency layer. 1 Link to comment Share on other sites More sharing options...
Fahrphrompuken Posted January 21, 2019 Report Share Posted January 21, 2019 I am having a similar issue with just using the provided graphics in Unilogic. When I use one of the UniPics images (in this case Unipic-Switches-034, and 33) the round switch has a white square background , so it looks terrible on a black screen background. How do I get the image to display correctly? I have tried copying the image out of the Unitroncs folder and open with Gimp and create an alpha channel, and that works except the resulting image then displays the Unipic water sign, which is no good either. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now