ImageEn, unit iexBitmaps

TIOParams.J2000_Rate

TIOParams.J2000_Rate


Declaration

property J2000_Rate : Double;


Description

Specifies the compression rate used when saving a JPEG2000 image. Allowed values are from 0 to 1, where 1 is no compression (lossless mode).
When using the IELib or IEVision DLL negative numbers are also allowed. For example, if set to -10, a 640x400 RGB image can be compressed to about 5 KB.

Default: 0.95


Example

// Save without quality loss
ImageEnView1.IO.Params.J2000_Rate := 1;
ImageEnView1.SaveToFile('D:\output.jp2');

// Save with lossy compression
ImageEnView1.IO.Params.J2000_Rate := 0.015
ImageEnView1.IO.SaveToFile('D:\output.jp2');


See Also

J2000_Quality