ImageEn, unit iexBitmaps

TIOParams.RAW_AutoAdjustColors

TIOParams.RAW_AutoAdjustColors


Declaration

property RAW_AutoAdjustColors: Boolean;


Description

If True, ImageEn applies an algorithm to adjust image colors.

Note: This works only when the RAW file contains an EXIF thumbnail or embedded JPEG with correct colors, as it used to calculate image colors.

Default: False (Specified by IOParamDefaults)


Demo

Demo  Demos\InputOutput\CameraRaw\CameraRaw.dpr


Examples

// Auto-adjust colors
ImageEnView.IO.Params.RAW_AutoAdjustColors := True;
ImageEnView.IO.LoadFromFile('C:\input.crw');


// Set recommended defaults for RAW Loading
ImageEnView1.IO.Params.RAW_FourColorRGB     := False;
ImageEnView1.IO.Params.RAW_QuickInterpolate := False;
ImageEnView1.IO.Params.RAW_UseAutoWB        := True;
ImageEnView1.IO.Params.RAW_UseCameraWB      := True;
ImageEnView1.IO.Params.RAW_AutoAdjustColors := False;
ImageEnView1.IO.Params.RAW_Gamma            := 2.222;
ImageEnView1.IO.Params.RAW_GammaToeSlope    := 4.5;
ImageEnView1.IO.Params.RAW_AutoBright       := False;
ImageEnView1.IO.Params.RAW_OutputColorSpace := iercsSRGB;

ImageEnView1.IO.LoadFromFile('C:\CRW_0001.CRW');


See Also

 RAW_UseAutoWB
 RAW_UseCameraWB
 IOParamDefaults