function GetByteMask(img: TImage32; reference: TColor32; compareFunc: TCompareFunction; tolerance: Integer): TArrayOfByte;
GetByteMask compares all pixels in 'img' with the 'reference' color and returns byte values according to the supplied compare function. The returned value is unidimensional array whose length corresponds to the supplied image's width x height.
TImage32.ConvertToAlphaMask, GetBoolMask
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025