Declaration
function DeleteGIFIm(const FileName: WideString; idx: Integer): Integer;
Description
Removes an image at index, idx (zero-based), from a multi-frame GIF file.
Returns the remaining number of frames that the file contains. If the FileName doesn't exists or doesn't contain images, it returns 0.
Example
// Delete the second image in a multipage GIF, named 'multipage.gif'.
DeleteGIFIm('C:\multipage.gif', 1);
See Also
-
EnumGifIm (Image Count)
-
IEOptimizeGIF-
Global Image Methods-
ReplaceFileGIF-
InsertToFileGIF