
All Units All Classes Properties, Methods and Events |
TeeGrayScale procedure
procedure TeeGrayScale(Const ABitmap: TBitmap; Inverted: Boolean; AMethod: Integer);
Unit
TeeFilters
Description
This procedure converts all pixels in ABitmap parameter into levels of gray.
The Inverted property determines if black or white will be used as the starting level.
The AMethod parameter can be:
0 ( lineal transformation from color to gray level )
1 ( human-eye visual transformation )
Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.