ImageEn, unit iexBitmaps

TIEBitmap.AdjustmentsMask

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();



Example

// copy ImageEnView current selection to AdjustmentsMask and apply Contrast in real time
ImageEnView1.IEBitmap.AdjustmentsMask.Assign( ImageEnView1.SelectionMask );
ImageEnView1.IEBitmap.Contrast := 20;
ImageEnView1.Update();


Demo

Demo  Demos\Display\DisplayAdjust\Display.dpr