11-30-2017 05:38 PM
Hi,
I have an image which is 2448*2048. Is there a way that I can reduce the size to 684*608. Please let me know?
Cheers,
Nachiket
11-30-2017 05:46 PM
Do you have an image file (like .jpg) and you want to change the resolution? Do you need to do this for many images in LabVIEW or just once?
Are you displaying the image in a picture control and you want to zoom out?
12-01-2017 02:04 AM
nachikulk wrote:I have an image which is 2448*2048. Is there a way that I can reduce the size to 684*608. Please let me know?
If you place an image on your front panel, LabVIEW does this out of the box. Simply select the image and resize, or from the toolbar select "Set Width and Height" to specify exact dimensions.
Paint, Photoshop or The GIMP and many other programs do this. With PS and The GIMP you have much more and better options for to do the scaling.
If you want to dynamically load an image in a picture control, you can use the zoom property of the picture control, but it will scale both dimensions with the same value. So the ratio will always be the same as the original.
You can always do the scaling yourself in LabVIEW. I think OpenG has tools for this. Making your own isn't that hard, depending on your requirements and skills.
If you let us know what you want, you can help you out.