Gimp.Selection.invert

@accepts(Gimp.Image)
@returns(bool)
def invert(image):
    # Python wrapper for gimp_selection_invert()
  

Invert the selection mask.

This procedure inverts the selection mask. For every pixel in the selection channel, its new value is calculated as (255 - old-value).

image

The image.

Returns