ImageEn, unit iexBitmaps

EnumGIFIm


Declaration

function EnumGIFIm(const FileName: WideString): Integer;


Description

Returns the number of frames (images) that the specified file contains. If the FileName doesn't exist or doesn't contain images, it returns 0.

Note: A GIF can contain multiple images even if it is not marked as animated.


Example

n := EnumGIFIm('C:\multipage.gif' );


See Also

DeleteGifIm
IEOptimizeGIF
Global Image Methods
InsertToFileGIF
ReplaceFileGIF