ImageEn, unit imageenproc |
|
TImageEnProc.AdjustGainOffset
Declaration
procedure AdjustGainOffset();
Description
Adjust image luminosity by calculating the min and max pixels values and stretching the colors to the maximum allowed value.
Note:
◼A UI for this is available to your users in the
Image Processing dialog◼If the image
PixelFormat is not ie24RGB or ie48RGB, it will be converted
| Demos\ImageEditing\AutoEnhance\AutoAdjust.dpr |
| Demos\ImageEditing\EveryMethod\EveryMethod.dpr |
Method Testing
ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );
// Adjust image luminosity by stretching colors to the maximum allowed value
ImageEnView1.Proc.AdjustGainOffset();