ImageEn, unit imageenproc

TImageEnProc.AdjustLumSatHistogram

TImageEnProc.AdjustLumSatHistogram


Declaration

procedure AdjustLumSatHistogram(Saturation, Luminance: Double);


Description

Adjust Saturation, Luminance and the histogram.

Parameter Description
Saturation Value between 0 and 1
Luminance Value between 0 and 1

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


Demos

Demo  Demos\ImageEditing\AutoEnhance\AutoAdjust.dpr
Demo  Demos\ImageEditing\EveryMethod\EveryMethod.dpr


Example

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

  

// Increase the Saturation and Luminance
ImageEnView1.Proc.AdjustLumSatHistogram( 0.25, 0.25 );