TImageEnIO.InsertToFileGif
Declaration
function InsertToFileGif(const FileName: WideString): integer;
Description
Inserts a frame into a GIF file at the position specified by
GIF_ImageIndex and makes it animated. The file must exist.
FileName is the file name including extension.
Returns the number of images inside the specified file.
// Create an animated gif with images contained in ImageEnView1 and ImageEnView2 components:
ImageEnView1.IO.SaveToFileGif('D:\anim.gif');
ImageEnView2.IO.Params.GIF_ImageIndex := 1;
ImageEnView2.IO.InsertToFileGif('D:\anim.gif');
See Also
◼LoadFromFileGIF◼SaveToFileGIF◼ReplaceFileGIF◼GIF_ImageIndex◼GIF_ImageCount◼DeleteGifIm◼IEOptimizeGIF◼Global Image Methods