ImageEn, unit iexBitmaps

IEOptimizeGIF

IEOptimizeGIF


Declaration


procedure IEOptimizeGIF(const InputFile, OutputFile: WideString);


Description


Optimizes a GIF animation (or multi-page GIF) by detecting differences between each frame and removing any data that is duplicated. The resulting file will only include differences between frames and can be significantly smaller.


Demo


  Demos\ImageEditing\AnimatedGIF\AnimatedGIF.dpr



Example


ImageEnMView1.MIO.SaveToFile('D:\temp.gif');
IEOptimizeGIF('D:\temp.gif', 'D:\output.gif');


See Also


- CheckAniGIF
- DeleteGifIm
- EnumGifIm (Image Count)
- Global Image Methods
- SaveToFileGIF
- SaveToStreamGIF
- ReplaceFileGIF
- InsertToFileGIF