ImageEn, unit iexBitmaps

TIOParams.SaveToFile

TIOParams.SaveToFile


Declaration

procedure SaveToFile(const FileName: WideString);


Description

Saves the file format parameters to a custom meta-data file.

CheckMagicString should always be True, unless you must maintain compatibility with earlier editions of ImageEn (prior to v6.3.1)

Note: This does NOT write parameters to an existing image file. Use methods like InjectJpegEXIF, InjectTiffEXIF, InjectJpegIPTC instead.


Example

// Save default parameters
ImageEnView1.IO.Params.TIFF_Compression := ioTIFF_LZW;
ImageEnView1.IO.Params.SaveToFile('D:\default.params');

...

// Load default parameters
ImageEnView1.IO.Params.LoadFromFile('D:\default.params');