ImageEn, unit imageenio

TImageEnIO.ReplaceFileGIF

TImageEnIO.ReplaceFileGIF


Declaration

function ReplaceFileGIF(const FileName: WideString): Integer;


Description

Save the current image into the specified multi-page GIF file, replacing the image at the index specified by Params.GIF_ImageIndex.


Example

// We have a multipage GIF, named 'multipage.gif'.
// We want to change only the second page (index 1), making it negative.
ImageEnView1.IO.Params.GIF_ImageIndex := 1;  // select page
ImageEnView1.IO.LoadFromFile('D:\multipage.gif');
ImageEnView1.Proc.Negative();
ImageEnView1.IO.ReplaceFileTIFF('D:\multipage.gif');


See Also

LoadFromFileGIF
SaveToFileGIF
InsertToFileGIF
GIF_ImageIndex
GIF_ImageCount
DeleteGifIm
IEOptimizeGIF
Global Image Methods