ImageEn, unit iexBitmaps

TIEBitmap.WhiteValue

TIEBitmap.WhiteValue


Declaration


property BlackValue: double;


Description


Specifies (along with BlackValue) the values range from black to white.

For example, if your image is a gray scale (256 levels) where only values from 100 to 200 are used (100 is black and 200 is white), to display the image you must write:

ImageEnView.IEBitmap.BlackValue := 100;
ImageEnView.IEBitmap.WhiteValue := 200;
ImageEnView.Update;


Note: To permanently apply the range to the image, use StretchValues


Demo


  Demos\Display\DisplayAdjust\Display.dpr