Previous | Up | Next |
_CRmaskFromBitmap
Required : scol v4.5Parameters
Create a bitmap8 alpha mask, from the bitmap object, in converting the bitmap colors into black or white.
The palette of the bitmap8 object is reseted as a grayscale palette.
ObjBitmap8 _CRmaskFromBitmap ( Chn _channel_ ObjBitmap _bitmap_ I _white_color_ I _black_color_ )
Return value
_channel_ object channel _bitmap_ any 24bits bitmap _white_color_ 24bits color to be converted as white. can be nil. _black_color_ 24bits color to be converted as black. can be nil.
a 8bits paletted bitmap, to be used in alphabitmap