LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Inserting a small graphics in a picture control

Does any one have an example code for inserting a small graphics/8 bit bmp file (15x15) in a relatively large (240x360) 8 bit jpeg image at known location in LabVIEW using Picture Control? Thanks in advance.

0 Kudos
Message 1 of 3
(2,161 Views)

Hello,

 

To read an image file (BMP, JPG, PNG) and put it into a picture control you can use the OpenG function "draw image from file", and then use the picture control property "Zoom" to fit it correctly.

Here's an example :

 

zoom fit.jpg

 

You can get OpenG functions from here.

 

Hope this helps.


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

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

Use the picture function "Draw Unflattened Pixmap"

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