RemoveBrushPalette(id[, trans])
id
into an
RGB brush. This means that all brush pixels will be converted to 32-bit RGB and
the palette will be removed from the brush. The optional argument trans
allows
you to specify how the brush's transparency should be converted. This can be either
#MASK
or #ALPHACHANNEL
. If you set it to #MASK
, which is also the default, the
brush's transparent pen will be mapped to a mask. If it is set to #ALPHACHANNEL
,
the brush's transparent pen will be mapped to an alpha channel.
#MASK
or #ALPHACHANNEL
; defaults to #MASK