LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
matt.baker

Support alpha transparency in the picture control

Allow 32bit image data to be displayed in the picture control. Any pixels with an opacity less than 100% should show the alpha blended colour of the contols/indictor or background that is behind the picture control.

Picture rings already support alpha transparency so it would be nice to see the same here.

 

Providing the border can still be removed by customising the control, it would allow better 'skins' for the GUI.

 

Current implementation - No alpha

 

Current implementation

 

Suggested:

Suggested

4 Comments
yenknip
Active Participant

Like this?

Alpha.png

 

Create a png in a graphics program like Paint.NET, GIMP, etc. For the one above, I just surrounded the image with a transparent alpha layer, but alpha effects on the image will work too.

The border can be set transparent too with the LabVIEW colour tool

_____________________________
- Cheers, Ed
DanyAllard
Active Participant

I suggest the same a will back with not so much kudo : http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Alpha-Channel-in-Picture-Control/idi-p/917415

 

Dany

LabVIEW ChampionArchitect
matt.baker
Active Participant

@yenknip

That's similar, but that only displays fully opaque or fully transparent using a threshold (similar to a GIF) 😕

It would be good to have semi-transparent pixels (256 levels of transparency) and for the pixels to update at runtime if the picture control is moved programmatically.

 

@Dany

Thanks for the link. I couldn't find any similar posts when i did a search. Given 1 more kudo 🙂

Here's hoping it gets implemented.

 

 

 

 

JordanG
NI Employee (retired)