LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

resize BMP

Hello I need a VI which resizes an importet BMP so that it fits into the picture-VI of the Front-Panel.
Can somebody help me?
Thx
Simon
Using Labview 7.1
0 Kudos
Message 1 of 9
(3,533 Views)
Hi Simon,
I made this VI a while ago to reshape image files.

I hope it will help you 😉


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 9
(3,534 Views)
Thank, but unfortunatly there are some subVIs missing!
Using Labview 7.1
0 Kudos
Message 3 of 9
(3,528 Views)

I agree that is a good program Titou,

But I guess your VI uses IMAQ functions.

So if you do not have IMAQ on your system, this would be a setback

Simon, In case you do not have IMAQ,  using the property 'Zoom factor' for a picture control/ Indicator Property Node, will help you achieve what you want.

Go to LabVIEW examples and find this VI: "Picture Control - Zoom Attribute.vi"

Also you can read the front panel window bounds ( using a VI property Node as shown in the pic) and work out a relation for the zoom factor of your pic

 

 

0 Kudos
Message 4 of 9
(3,523 Views)
Oh.. Smiley Surprised then that means you don't have IMAQ vision installed...

Hummm there is certainly a way to do the same with picture functions... Have you tried to search, "resize image", or resample ?
I'm almost sure some example VI were posted on the forums...

Good luck

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

Epictetus

Antoine Chalons

0 Kudos
Message 5 of 9
(3,522 Views)
Try this VI read_bmp_5.vi




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

Epictetus

Antoine Chalons

0 Kudos
Message 6 of 9
(3,516 Views)
can't open it! got lv 7
Using Labview 7.1
0 Kudos
Message 7 of 9
(3,511 Views)
Try looking at reply #7 in that thread.

___________________
Try to take over the world!
Message 8 of 9
(3,507 Views)

yeaaah!

thany you very much

Using Labview 7.1
0 Kudos
Message 9 of 9
(3,500 Views)