imageframes (<file>)
numeric
The number of images in a multi-frame image file, e.g. a multi-image tiff file, or zero in the event of an error.
<file>The name of the image file to be queried.
numeric imcount = imageframes(c:/temp/multif.tif)