frameCount

Reports the number of frames in an animated GIF image.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

get the frameCount of image

# Examples

put the frameCount of image "Welcome Animation" into estNumberOfSecs

# Description

Use the frameCount property to determine the length of a animated GIF.

If the image is not an animated GIF, its frameCount is zero.

# Tags

# See

- **keyword:** image, integer - **property:** currentFrame - **command:** play - **glossary:** property, animated GIF, frame, non-negative