LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make a indicator transparent grey?

Picture control support 1 bit transparent, not 1 byte alpha channel (for translucent).  Just like those old vector image types: wmf, emf, it is limited by the image file format (picture ctrl is a mix of raster image and vector image).

However, it's background, like all other controls support translucent.

image.png

 

George Zou
Message 21 of 24
(468 Views)

Interesting, i'll have to test that when i get home.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 22 of 24
(463 Views)

@zou wrote:

Picture control support 1 bit transparent, not 1 byte alpha channel (for translucent).  Just like those old vector image types: wmf, emf, it is limited by the image file format (picture ctrl is a mix of raster image and vector image).


The emf standard does support gradients and alpha blending:

EMR_ALPHABLEND: This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, including alpha transparency data, according to a specified blending operation.

EMR_TRANSPARENTBLT: This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, treating a specified color as transparent, stretching or compressing the output to fit the dimensions of the destination, if necessary.<18> 

 

It's just that LV didn't catch up.

0 Kudos
Message 23 of 24
(427 Views)

Classic controls to the rescue!

Yamaeda_0-1576187649030.png

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 24 of 24
(397 Views)