ImageEn, unit iexBitmaps

TIEBitmap.AutoCalcBWValues

TIEBitmap.AutoCalcBWValues

Declaration

procedure AutoCalcBWValues();

Description

Automatically calculates the BlackValue and WhiteValue to correctly display the image.
This method finds the low and high values of image pixels and sets them to the BlackValue and WhiteValue properties.

The following pixel formats are supported: ie8g, ie16g, ie24RGB, ie48RGB, ie32f. Other formats are ignored

Demo

Demo  Demos\Display\DisplayAdjust\Display.dpr

See Also

BlackValue
WhiteValue
StretchValues