ImageEn, unit ievision

TIEVisionImage.save

TIEVisionImage.save


Declaration

procedure save(filename: PAnsiChar); overload; safecall;
procedure save(filename: PAnsiChar; fileType: TIEVisionFileFormat); overload; safecall;


Description

Save the current image to the specified file.
The following formats are supported: JPEG, TIFF, BMP, PNG, PXM, J2K, RAS and Hex

Parameter Description
filename Filename of output file
fileType File format of the file


Example

// Save to output.jpg as jpeg
image1.save('output.jpg');

// Save to output.dat as jpeg
image1.save('output.dat', ievJPEG);