ImageEn, unit iexBitmaps

TIEBitmap.Contrast

TIEBitmap.Contrast


Declaration

property Contrast: integer;


Description

Specifies a dynamic contrast to apply. It does not modify the image, only how it is displayed.

Allowed values are 0 to 100.

Note:
To permanently apply the contrast to the image, use FixContrast
To adjust the brightness, you can set ChannelOffset


Demo

Demo  Demos\Display\DisplayAdjust\Display.dpr


Example

ImageEnView1.IEBitmap.Contrast := 20;
ImageEnView1.Update();


See Also

FixContrast
ChannelOffset
BlackValue
WhiteValue