ImageEn, unit imageenproc

TImageEnProc.AdjustTemperature

TImageEnProc.AdjustTemperature


Declaration

procedure AdjustTemperature(temperature: Integer);



Description

Adjust the image temperature.
temperature is measured in degrees Kelvin. Minimum value is 1000 (K) and maximum is 40000 (K). Resolution is 100K (so allowed values are 1000, 1100, 1200, etc).

Note: If the image PixelFormat is not ie24RGB, it will be converted


Demo

Demo  Demos\ImageEditing\EveryMethod\EveryMethod.dpr


Example

// Load test image
ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );

  

// Adjust the image temperature
ImageEnView1.Proc.AdjustTemperature( 13000 );