LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PNG quality

Solved!
Go to solution

Hi  ---  this may be a silly question but here goes.

 

I have 4 images/icons that I want to use to show the current stages of operation (there are 4 stages). When I'm importing the PNG image, its quality is being reduced by fair amount. Since the FP look is important, the quality of these images has to remain high. 

 

Currently, I'm thinking of overlaying all 4 images (placing them as decorations in FP) and hiding 3 decorations while showing, the correct one (done programatically). Is there an easier way?

 

I have No IMAQ.

 

Thanks 

 

kas

0 Kudos
Message 1 of 4
(2,788 Views)
Solution
Accepted by zerotolerance

Use a Picture Ring.

Message 2 of 4
(2,781 Views)

Now this is what happens without sleep. Smiley Embarassed . 

 

Straight and simple, thanks. 

 

kas

0 Kudos
Message 3 of 4
(2,778 Views)

I think the reason that the quality does not look right when importing the png into a picture indicator is the fact that your picture is full 32bit, but LabVIEW can only set a binary transparency threshold for the alpha channel.

 

If you would paste your images on a white background and save them as non-tranparent PNGs, the quality would look fine.

 

Anyway, as has been mentioned, a picture ring is of course the correct way to do that. You can make the frame transparent for a clean look.

Message 4 of 4
(2,759 Views)