code: def subtract(image1, image2, scale=1.0, offset=0):
      """
      Subtracts two images, dividing the result by scale and adding the offset.
      If omitted, scale defaults to 1.0, and offset to 0.0. At least one of the
      images must have mode "1".
  
      .. code-block:: python
  
          out = ((image1 - image2) / scale + offset)
  
      :rtype: :py:class:`~PIL.Image.Image`
      """
  
      image1.load()
      image2.load()
      return image1._new(
          image1.im.chop_subtract(image2.im, scale, offset)
      )
  
file_path: catboost/contrib/python/Pillow/py2/PIL/ImageChops.py
imports: from .None import Image
label_desc: Use image node_id 10 for calling a global function with example usage: subtract(image1, image2, scale, offset) and returns: image1