def subtract(image1, image2, scale=1.0, offset=0):
 image1.load()
 image2.load()
 return image1._new(image1.im.chop_subtract(image2.im, scale, offset))

def subtract ( image1 , image2 , scale = 1.0 , offset = 0 ) : image1 . load ( ) image2 . load ( ) return image1 . _new ( image1 . im . chop_subtract ( image2 . im , scale , offset ) )
subtracts two images .