Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

using IMAQReadFile with .jpg format of file is producing an "incompatible image size" error ?

The .jpg monochrome images are of slightly different sizes. Is there a way round this or should i use a different file format ?
0 Kudos
Message 1 of 3
(3,130 Views)
I trimmed down your code a bit, but I don't see any problems with using various sized images. I ran your code first with no changes except removing the text file IO and changing the paths and saw no problems. I am using LV 6.1 with Vision 6.1. Take a look at the code below and see if it works for you.

Regards,

Brent R.
Applications Engineer
National Instruments
Message 2 of 3
(3,130 Views)
This works now Brent, thank you !
0 Kudos
Message 3 of 3
(3,130 Views)