Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I specify resolution, NOT size, in IMAQ/LabView

I have a grabbed picture that I have rescaled so that it has the right scale/size at 300 dpi, and I want the saved (.jpg) picture to know this.

Is it possible to do this without using an external program?
0 Kudos
Message 1 of 4
(3,859 Views)
You can change the image quality on the IMAQ Write JPEG.vi. This in effect is going to change the resolution. You cannot change the resolution directly.
0 Kudos
Message 2 of 4
(3,859 Views)
Milo,

I don't think it is possible within LabVIEW to specify the DPI.

The only way I could find was calibrating the image and saving the calibration info with the image. This is stored in a PNG format, and is only readable within LabVIEW, so it probably won't help you.

Bruce
Bruce Ammons
Ammons Engineering
Message 3 of 4
(3,859 Views)
Hi, you can specify size and dimension through zoom, and interpolation in the IMAQ menu, but resolution isn't one of them im afraid.
I'm working on something simular i'll let this thread know if i manage anything.
John P.
0 Kudos
Message 4 of 4
(3,608 Views)