Jump to content
Sign in to follow this  
alukindo

Make PNG Image Transparent as Original

Recommended Posts

Hi: The original images are transparent. However, when I place them on Treeview nodes they take-on a white background. Can I do anything to keep the images transparent?. Notice the selected row.

A.L.

Share this post


Link to post
Share on other sites

I just tried this on LabVIEW 8.6 and am able to display the symbols correctly. The transparent images are displayed correctly. See attached file

How are you reading your png files?

Also which version of LabVIEW are you using?

Share this post


Link to post
Share on other sites

Hi Justin: I am using version 8.6 as well. I have attached the code that I am using. The VI shows that my images are read-in as 8-bit ones. I know the newer 8.6 VI for reading images has a transparency threshold but does not seem to make a difference in my case. Are your images 8-bit or ?

Anthony L.

Hi Justin: Thought that I should also include samples of my images. Here are two PNG files with transparency.

Thanks Anthony L.

Share this post


Link to post
Share on other sites

Hi Justin: I am using version 8.6 as well. I have attached the code that I am using. The VI shows that my images are read-in as 8-bit ones. I know the newer 8.6 VI for reading images has a transparency threshold but does not seem to make a difference in my case. Are your images 8-bit or ?

..............

Hi, I think this is the focal cause, PNG file is 32-bit, alpha channal, R, G, and B.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.