This function inverts the mask of the brush specified by id. This means
that all areas which were previously transparent, will become opaque
and areas that were opaque previously, will become transparent.
Note that when using Miniwood, this function requires filters library.