ImageEn, unit ievision
TIEVisionFileStream.open
TIEVisionFileStream
.open
Declaration
procedure open(filename: PAnsiChar; mode:
TIEVisionFileStreamMode
); overload; safecall;
procedure open(filename: PWideChar; mode:
TIEVisionFileStreamMode
); overload; safecall;
Description
Open or create a file.
Parameter
Description
filename
Path and name of the file to open
mode
Opening mode
Example
// opens 'input.jpg' in read only mode
filestream := IEVisionLib.createFileStream();
filestream.open('input.jpg', ievREAD);
// creates 'output.jpg'
filestream := IEVisionLib.createFileStream();
filestream.open('output.jpg', ievCREATE);