ImageEn, unit iexBitmaps

CheckAniGIF

CheckAniGIF


Declaration


function CheckAniGIF(const FileName: WideString): Boolean;


Description


Returns True if the specified GIF file has the animated flag set (i.e. the "NETSCAPE2.0" string).
If the file doesn't exist or if the image hasn't set the flag, it returns False.


Example


if EnumICOIm( 'C:\image.gif' ) then
  ShowMessage( 'It is animated' );


See Also


- EnumGifIm (Image Count)
- DeleteGifIm
- IEOptimizeGIF
- Global Image Methods
- LoadFromFileGIF
- LoadFromStreamGIF
- SaveToFileGIF
- SaveToStreamGIF