ImageEn, unit iexBitmaps

TIOParams.RAW_UseCameraWB

TIOParams.RAW_UseCameraWB


Declaration

property RAW_UseCameraWB: Boolean;


Description

If True, The camera's white balance is used if possible.
By default, Raw images are given a fixed white balance based on a color chart illuminated with a standard D65 lamp. When RAW_UseCameraWB is enabled, the white balance specified by the camera is used (if it exists). This has preference over RAW_UseAutoWB.

Default: False (Specified by IOParamDefaults)


Demo

Demo  Demos\InputOutput\CameraRaw\CameraRaw.dpr


Example

// 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_AutoAdjustColors
IOParamDefaults