LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Properly scale a bit map image in a LabVIEW picture indicator ?

I have a VI (see below : SCALE EXAMPLE) that captures the contents of a front panel and puts it into a picture indicator (subvi - NOTE_BENE).
When I use the Zoom property of the picture indicator for any other value than 1.0 , the scaled image becomes unreadable.
If I take this same image and paste it into Powerpoint, adjust the size, the image scales nicely.
How do I scale an image in a LabVIEW picture indicator and maintain a clear image. ?
0 Kudos
Message 1 of 2
(2,732 Views)

Hi John,

If you use whole numbers for zoom factor LabVIEW will be able to zoom the image effectively because of the whole number of pixels. When you zoom by a fraction (like 1.1, 1.2, etc) the image bitmap is not updated neatly because of basic underlying algorithm. When using any other application (like powerpoint) the image is handeled by underlying windows image algorithms and thus appears clearer.

It could be a good product suggestion that you can post at www.ni.com -> contact us -> provide feedback
 
Regards,
Ankita
0 Kudos
Message 2 of 2
(2,708 Views)