Declarationfunction IEGetFileFramesCount(const FileName: WideString): Integer;
A generic method to get the number of frames in a multi-page images and supported videos.
The following types are supported: GIF, TIFF, ICO, CUR, DCX, DICOM, HDP, HEIF, DDS, WEBP, PDF, AVI and other supported WIC and video formats, such as MPEG.
For single page types (such as JPEG) the result will be 1 if the file is valid.
Note: The file content is analyzed to determine the image type
Examplen := IEGetFileFramesCount( 'C:\Image.gif' );
- Global Image Methods