fix formatting

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

View File

@ -138,6 +138,7 @@ def screen(image1, image2):
image2.load()
return image1._new(image1.im.chop_screen(image2.im))
def softlight(image1, image2):
"""
Superimposes two images on top of each other using the Soft Light algorithm
@ -149,6 +150,7 @@ def softlight(image1, image2):
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
@ -160,6 +162,7 @@ def hardlight(image1, image2):
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
@ -171,6 +174,7 @@ def overlay(image1, image2):
image2.load()
return image1._new(image1.im.chop_overlay(image2.im))
def add(image1, image2, scale=1.0, offset=0):
"""
Adds two images, dividing the result by scale and adding the