Name
InvertAlphaChannel -- invert alpha channel of a brush (V2.0)
Synopsis
InvertAlphaChannel(id)
Library
brush

Function
This function inverts the alpha channel of the brush specified by id. This means that the transparency for each pixel is turned around. If a pixel was previously 80% transparent, it will only be 20% transparent after an inversion and pixels who were 20% transparent will become 80% transparent after the inversion.

Note that when using Miniwood, this function requires filters library.

Inputs
id
brush whose alpha channel is to be inverted

Show TOC