ImageEn, unit iexBitmaps

TIOParams.EnableAdjustOrientation

TIOParams.EnableAdjustOrientation


Declaration

property EnableAdjustOrientation: Boolean;


Description

If enabled before loading a file which contains EXIF orientation information, the image will be automatically rotated for display (the actual file is not modified).
Orientation information is often found in digital photos from high-end cameras. ImageEn uses the data found in EXIF_Orientation or TIFF_Orientation to determine the correct orientation.

Note:
- This property also sets JPEG_EnableAdjustOrientation and TIFF_EnableAdjustOrientation
- This property only affects loading into TImageEnView or TIEBitmap. For TImageEnMView, use TImageEnMView.EnableAdjustOrientation

Default: False (Specified by IOParamDefaults)


Example

ImageEnView1.IO.Params.EnableAdjustOrientation := True;
ImageEnView1.IO.LoadFromFile('C:\input.jpg');