parameters: (image1, image2)
return_statement: return image1._new(image1.im.chop_difference(image2.im))
docstring: Returns the absolute value of the pixel-by-pixel difference between the two
      images. At least one of the images must have mode "1".
  
      .. code-block:: python
  
          out = abs(image1 - image2)
  
      :rtype: :py:class:`~PIL.Image.Image`
docstring_summary: Returns the absolute value of the pixel-by-pixel difference between the two
      images. At least one of the images must have mode "1".
docstring_tokens: Returns the absolute value of the pixel - by - pixel difference between the two images . At least one of the images must have mode 1 .
function: def difference(image1, image2):
      """
      Returns the absolute value of the pixel-by-pixel difference between the two
      images. At least one of the images must have mode "1".
  
      .. code-block:: python
  
          out = abs(image1 - image2)
  
      :rtype: :py:class:`~PIL.Image.Image`
      """
  
      image1.load()
      image2.load()
      return image1._new(image1.im.chop_difference(image2.im))
function_tokens: def difference ( image1 , image2 ) : image1 . load ( ) image2 . load ( ) return image1 . _new ( image1 . im . chop_difference ( image2 . im ) )