Name
RemoveBrushPalette -- convert palette brush to RGB (V9.0)
Synopsis
RemoveBrushPalette(id[, trans])
Library
brush

Function
This function can be used to convert the palette brush specified by 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.

Inputs
id
identifier of the brush to convert
trans
optional: desired type of brush transparency; must be either #MASK or #ALPHACHANNEL; defaults to #MASK

Show TOC