LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to replace a specific color with transparent color?

Solved!
Go to solution

I would need to get image of a control but I'd like to replace the background color of the control with transparent color (like the commentest image editor).

I cannot use IMAQ library, so I would like to use 2D-picture palette.

I can read the image data pixel per pixer, but.. once the color to be replaced is found, how to replace it with transparent?

 

Thanks all

0 Kudos
Message 1 of 3
(2,956 Views)
Solution
Accepted by topic author sqrt(-1)

It sounds like you want the "Create Mask.vi". If not, you might want to provide some code that shows what kind of situation you're dealing with.

Message 2 of 3
(2,936 Views)

Thanks, I've used Create Mask and it works. I never used it before.

 

Thanks a lot

0 Kudos
Message 3 of 3
(2,851 Views)