TImage32.ConvertToAlphaMask

procedure ConvertToAlphaMask(reference: TColor32; colorFunc: TCompareFunctionEx);


This method converts the image using the supplied TCompareFunctionEx function and the resulting byte mask is stored in the image's alpha channel.

See Also

ConvertToBoolMask, GetByteMask