Be sure to include the following for the functions below
from blendmodes.blend import blendLayers, BlendType
background = Image.open(THISDIR + "/background.png")
foreground = Image.open(THISDIR + "/foreground.png")
blendLayers(background, foreground, BlendType.NORMAL)
blendLayers(background, foreground, BlendType.MULTIPLY)
blendLayers(background, foreground, BlendType.ADDITIVE)
blendLayers(background, foreground, BlendType.COLOURBURN)
blendLayers(background, foreground, BlendType.COLOURDODGE)
blendLayers(background, foreground, BlendType.REFLECT)
blendLayers(background, foreground, BlendType.GLOW)
blendLayers(background, foreground, BlendType.OVERLAY)
blendLayers(background, foreground, BlendType.DIFFERENCE)
blendLayers(background, foreground, BlendType.NEGATION)
blendLayers(background, foreground, BlendType.LIGHTEN)
blendLayers(background, foreground, BlendType.DARKEN)
blendLayers(background, foreground, BlendType.SCREEN)
blendLayers(background, foreground, BlendType.XOR)
blendLayers(background, foreground, BlendType.SOFTLIGHT)
blendLayers(background, foreground, BlendType.HARDLIGHT)
blendLayers(background, foreground, BlendType.GRAINEXTRACT)
blendLayers(background, foreground, BlendType.GRAINMERGE)
blendLayers(background, foreground, BlendType.DIVIDE)
blendLayers(background, foreground, BlendType.HUE)
blendLayers(background, foreground, BlendType.SATURATION)
blendLayers(background, foreground, BlendType.COLOUR)
blendLayers(background, foreground, BlendType.LUMINOSITY)
blendLayers(background, foreground, BlendType.PINLIGHT)
blendLayers(background, foreground, BlendType.VIVIDLIGHT)
blendLayers(background, foreground, BlendType.EXCLUSION)
blendLayers(background, foreground, BlendType.DESTIN)
blendLayers(background, foreground, BlendType.DESTOUT)
blendLayers(background, foreground, BlendType.DESTATOP)
blendLayers(background, foreground, BlendType.SRCATOP)