|
getImWidth
|
|
|
|
| Image
|
|
|
| An integer between 0 and 116 specifying the frame number of the image. A value of 0 represents the DMA memory buffer of the video device. Values in the range of 100-116 correspond to hidden frames.
|
|
|
| The width of the image in pixels.
|
|
|
| ERR_OK
|
|
|
| The flag set if successful.
|
|
|
| ERR_FAILED
|
|
|
| The flag set if failed.
|
|
|
| This set of statements retrieves the width and height of a sample image and prints the information in the terminal window:
|
|
|
| grabIm (1)
|
| x=getImWidth ( 1)
|
| y=getImHeight (1)
|
| print "width=", x
|
| print "height=", y
|