TIEBitmap.SetColorFromAlpha
Declaration
procedure SetColorFromAlpha(MinAlpha, MaxAlpha: Integer; Color: TColor);
Description
Sets a color for each pixel in specified alpha range. Works only with ie24RGB pixel format.
Example
// Each pixel that is fully transparent (alpha=0) will be colored black
aBmp.SetColorFromAlpha( 0, 0, clBlack );