AddImageFrame()

Syntax

Result = AddImageFrame(#Image [, Index])
Description
Adds a new frame to the specified image. The new frame will have the same dimension and depth like the image.

Parameters

#Image The image to add a frame.
Index (optional) The index (starting from 0) to insert the frame. If not specified the new frame will be added at the end of the frame list.

Return value

Returns nonzero if the new frame has been successfully created, zero otherwise.

See Also

CreateImage(), RemoveImageFrame(), ImageFrameCount(), SetImageFrame(), GetImageFrame()

Supported OS

All

Image Index - CatchImage() ->