ImageEn, unit imageenproc

TImageEnProc.HSLvar

TImageEnProc.HSLvar


Declaration

procedure HSLvar(oHue, oSat, oLum: Integer);


Description

Changes the Hue, Saturation and Luminosity of the selected region.

Parameter Description
oHue Offset to add to the Hue channel, from -180 to +180.
oSat Offset to add to the Saturation channel, from -100 to +100.
oLum Offset to add to the Luminosity channel, from -100 to +100.


Examples

ImageEnView1.Proc.HSLVar(0, -100, 0); // convert to gray
ImageEnView1.Proc.HSLVar(0, 0, 30); // increase luminosity