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 layers 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
ImageEnView.IEBitmap.AdjustmentsMask.Assign( ImageEnView1.SelectionMask );
ImageEnView.IEBitmap.Contrast := 20;
ImageEnView.Update();


Demo


  Demos\Display\DisplayAdjust\Display.dpr