QPx_CountImporterFrames

QPx_CountImporterFrames(importerRef; importerRef):error
importerRef Longint Graphics importer reference
numFrames Longint Number of frames
error Longint Error result

Get the number of frames of a multi-frame image

Some file formats may contain multiple frames in a single file. QPix currently supports the following multi-frame file formats:

The command returns the number of frames contained in the image (file, URL, or BLOB) that is associated with importer instance importerRef. If importerRef is not a reference to a valid graphics importer instance, error qpx_paramErr is returned.

Parameter numFrames receives the number of frames.

NOTE Individual frames in a multi-frame image may have different characteristics (width, height, pixel depth, etc).