ImageEn, unit imageenproc |
|
TImageEnProc.Contrast
Declaration
procedure Contrast(vv: Double);
Description
Changes the contrast of selected region.
vv is the contrast value which may range from -100 to +100, where 0 is no change.
Note:
◼A UI for this is available to your users in the
Image Processing dialog◼If the image
PixelFormat is not ie24RGB or ie32RGB, it will be converted
| Demos\ImageEditing\EveryMethod\EveryMethod.dpr |
// Load test image
ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );
// Increase the contrast
ImageEnView1.Proc.Contrast( 50 );
See Also
◼Contrast2◼Contrast3