Declaration
function LoadFromAVI(FrameIndex: Integer): Boolean;
Description
Reads the frame of index,
FrameIndex, opened with
OpenAVIFile. Result will be false if the file is not a recognized file type (and
Aborting will be true). Loading errors due to a file not being available will raise an exception.
// Save first AVI frame to 'frame1.jpg', second frame to 'frame2.jpg'
ImageEnView1.IO.OpenAVIFile( 'C:\video.avi' );
ImageEnView1.IO.LoadFromAVI( 0 );
ImageEnView1.IO.SaveToFile('D:\frame1.jpg');
ImageEnView1.IO.LoadFromAVI( 1 );
ImageEnView1.IO.SaveToFile('D:\frame2.jpg');
...
ImageEnView1.IO.CloseAVIFile;