code: def invert(image):
      """
      Invert (negate) the image.
  
      :param image: The image to invert.
      :return: An image.
      """
      lut = []
      for i in range(256):
          lut.append(255 - i)
      return _lut(image, lut)
  
imports: import functools
  import operator
  from .None import Image
  from ._util import isStringType
label_desc: Use image node_id 15 for calling a global function with example usage: invert(image) and returns: _lut