Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

imaqCopyRect Question

Hi,

 

Is the  imaqCopyRect() function only intended to be used with the source and destination images having the same dimensions (or at least the same width)?  As far as I can tell, the function only seems to work properly when that's the case.  Thanks. 

0 Kudos
Message 1 of 2
(2,547 Views)

Nevermind, I think I figured it out.  When calling the imaqGetImageInfo() on the resulting image, you have to pay attention to the pixelsPerLine parameter which may not be the same as the xRes parameter.

0 Kudos
Message 2 of 2
(2,545 Views)