ImageEn, unit imageenio

TImageEnIO.CloseMediaFile

TImageEnIO.CloseMediaFile


Declaration

procedure CloseMediaFile;


Description

Close a video file that was opened with OpenMediaFile.


Example

// Save frame 10 as 'frame10.jpg'
ImageEnView1.IO.OpenMediaFile('C:\video.mpeg');
ImageEnView1.IO.LoadFromMediaFile(10);
ImageEnView1.IO.SaveToFile('D:\frame10.jpg');
ImageEnView1.IO.CloseMediaFile;