ImageEn, unit iexBitmaps

TIEBitmap.FixContrast

TIEBitmap.FixContrast


Declaration

procedure FixContrast();


Description

Makes Contrast property permanent (applying the specified contrast).
The Contrast property is then reset to zero.
Only works for ie24RGB, ie32RGB and ie48RGB pixel formats.

Note: If attached to a TImageEnView, it will automatically call Update


Example

ImageEnView1.IEBitmap.Contrast := 20;
ImageEnView1.IEBitmap.FixContrast();     // Permanently apply changes