Jump to content

Make PNG Image Transparent as Original


Recommended Posts

Posted

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.

Posted

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?

Posted

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.

Posted

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.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

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