ImageEn, unit iexBitmaps

IEGetFileFramesCount

IEGetFileFramesCount


Declaration


function IEGetFileFramesCount(const FileName: WideString): Integer;


Description


A generic method to get the number of frames in a multi-page images and supported videos (GIF, TIFF, AVI, MPEG...).

Notes:
- It will work with single page files too (such as JPEG) by returning 1.
- The file content is analyzed to determine the image type


Example


n := IEGetFileFramesCount( 'C:\Image.gif' );


See Also


- Global Image Methods