idinto 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
transallows you to specify how the brush's transparency should be converted. This can be either
#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.
#ALPHACHANNEL; defaults to