Declaration
function Open(Stream: TStream; FileType: TIOFileType): Boolean;
function Open(const FileName: WideString; FileType: TIOFileType = ioUnknown): Boolean;
Description
Creates specified image format in stream or file, enabling subsequent calls to
PutFrame calls.
You should call
Free or
Close in order to commit changes.
Example
// Save ImageEnView1 to output.wdp, which is the same as ImageEnView1.IO.SaveToFile('output.wdp')
wic := TIEWICWriter.Create();
wic.Open('D:\output.wdp', ioHDP);
wic.PutFrame(ImageEnView1.IEBitmap, ImageEnView1.IO.Params);
wic.Free();