QPix Command Reference
![]() |
![]() ![]() |
QPx_CountImporterFrames(importerRef; numFrames):error | |||
![]() |
importerRef | Longint | Graphics importer reference |
![]() |
numFrames | Longint | Number of frames |
![]() |
error | Longint | Error result |
Returns the number of frames in a multi-frame image.
Some file formats may contain multiple frames in a single file. QPix currently supports the following multi-frame file formats:
This command returns the number of frames contained in the image (file, URL, or BLOB) that is associated with the importer instance specified by 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 and height, depth, etc).