ImageEn, unit iesettings
TIEImageEnGlobalSettings.AutoAdjustDPI
TIEImageEnGlobalSettings
.AutoAdjustDPI
Declaration
property AutoAdjustDPI: Boolean;
Description
When set to True and an image is loaded (with
TIEBitmap
or
TIEMultiBitmap
) with horizontal different from its vertical DPI, ImageEn will scale the image to make them equal.
This property only afffects
TIEBitmap
or
TIEMultiBitmap
. For
TImageEnView
/
TImageEnIO
use
AutoAdjustDPI
. For
TImageEnMView
/
TImageEnMIO
use
AutoAdjustDPI
.
Default: False
Example
// load a TIFF, fix the DPI and save it
IEGlobalSettings().AutoAdjustDPI := True;
mbmp := TIEMultiBitmap.create;
mbmp.Read('input.tiff');
mbmp.Write('output.tiff');
mbmp.free;
Loading contents...