### QPx_CountImporterFrames

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:

- JPEG files with embedded thumbnails (Exif)
- TIFF files with embedded thumbnails
- TIFF files with multiple pages
- Photoshop files with multiple layers
- FlashPix files with multiple resolutions
- PhotoCD files with multiple resolutions
- PDF files with multiple pages (MacOS X only)

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).

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:45:07