IsImage()

Syntax

Result = IsImage(#Image)
Description
Tests if the given image number is a valid and correctly initialized image.

Parameters

#Image The image to test.

Return value

Returns nonzero if #Image is a valid image and zero if not.

Remarks

This function is bulletproof and can be used with any value. This is the correct way to ensure an image is ready to use.

See Also

CreateImage(), LoadImage(), CatchImage(), CopyImage(), GrabImage()

Supported OS

All

<- ImageWidth() - Image Index - LoadImage() ->