ImageEn, unit imageenproc |
|
TImageEnProc.AdjustTint
Declaration
procedure AdjustTint(Amount: Integer);
procedure AdjustTint(Amount: Integer; FixedColorStart: TRGB; FixedColorEnd: TRGB);
procedure AdjustTint(Amount: Integer; FixedColorPos: TPoint);
Description
Adjust the color tint of the image. Amount (in degrees) is a value between -180 and 180.
The second and third overloads avoid updating a specified color range or the color at a specified position.
Note: If the image
PixelFormat is not ie24RGB, it will be converted
| Demos\ImageEditing\EveryMethod\EveryMethod.dpr |
// Load test image
ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );

// Adjust the color tint by 60 deg.
ImageEnView1.Proc.AdjustTint( 60 );
