Contents  All Classes  Index A-Z  All Units


TeeGrayScale procedure

procedure TeeGrayScale(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 )




Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.