ImageEn, unit iexBitmaps

TIOParams.IEN_Compression

TIOParams.IEN_Compression


Declaration

property IEN_Compression: TIOFileType;


Description

Specifies the format to save an ImageEn layer file.

If CompressionFormat is -1, an internal lossless compressed format is used (Pixel format and alpha channel are preserved).
If CompressionFormat is -2, an internal non-compressed format is used (Pixel format and alpha channel are preserved).
Otherwise any standard image format can be used, except ioTIFF.

Notes:
- If your image layers use an alpha channel, ensure IEN_Compression is -1, -2 or ioPNG
- Even if a standard compression format, such as ioJPEG is used, the file will only be readable by ImageEn
- ioPNG should be avoided for compatibility with ImageEn versions that use ieenWIC

Default: -1


Examples

// Use PNG as the compression format
ImageEnView1.IO.Params.IEN_Compression := ioPNG;
ImageEnView1.IO.SaveToFileIEN('D:\Layers.ien');