isImage
Top  Previous  Next

val = isImage ( integer Image )

Use this function to determine if the image frame with the specified index exists in the ImageWarp workspace.

Parameters
 
Image  
An integer between 0 and 116 specifying the frame number of the image. Values in the range of 100-116 correspond to hidden frames.  
 
Return value
 
TRUE (0) if the image or sequence with the specified index exists  
FALSE (1) if the image or sequence with the specified index does not exist  
 
Error flags

ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
 
The flag set if failed.  
 
Example

This set of statements checks on the existence of image frames and closes the ones that are found:  
 
For i=1 to 99  
If isImage(i) then  
closeIm(i)  
End If  
Next