fix formatting

This commit is contained in:
Dag Wästberg 2019-11-22 14:47:51 +01:00 committed by Andrew Murray
parent 23c9da5264
commit 23a61b00b5

View File

@ -163,30 +163,6 @@ def hardlight(image1, image2):
return image1._new(image1.im.chop_hardlight(image2.im))
def softlight(image1, image2):
"""
Superimposes two images on top of each other using the Soft Light algorithm
:rtype: :py:class:`~PIL.Image.Image`
"""
image1.load()
image2.load()
return image1._new(image1.im.chop_softlight(image2.im))
def hardlight(image1, image2):
"""
Superimposes two images on top of each other using the Hard Light algorithm
:rtype: :py:class:`~PIL.Image.Image`
"""
image1.load()
image2.load()
return image1._new(image1.im.chop_hardlight(image2.im))
def overlay(image1, image2):
"""
Superimposes two images on top of each other using the Overlay algorithm