TIEBitmap.AdjustmentsMask
Declaration
property AdjustmentsMask: TIEMask;
Description
Use the AdjustmentsMask to select which pixels are affected by
BlackValue,
WhiteValue,
ChannelOffset,
Contrast and layer blending operations.
To reset the adjustments mask (apply changes to the whole image) use:
ImageEnView1.IEBitmap.AdjustmentsMask.Empty();
ImageEnView1.Update();
// copy ImageEnView current selection to AdjustmentsMask and apply Contrast in real time
ImageEnView1.IEBitmap.AdjustmentsMask.Assign( ImageEnView1.SelectionMask );
ImageEnView1.IEBitmap.Contrast := 20;
ImageEnView1.Update();
| Demos\Display\DisplayAdjust\Display.dpr |