code: def invert(image):
      """
      Invert an image (channel). ::
  
          out = MAX - image
  
      :rtype: :py:class:`~PIL.Image.Image`
      """
  
      image.load()
      return image._new(image.im.chop_invert())
  
imports: from .None import Image
label_desc: Use image node_id 3 for calling a global function with example usage: invert(image) and returns: image