Blend two images together with the blendFn algorithm. Both images must be of the same size. If out is omitted, a new image will be created, with the same dimensions of a and b.
blendFn
out
a
b
the desired blend mode
Base-layer image
Blend-layer image
Output image
Blend two images together with the
blendFnalgorithm. Both images must be of the same size. Ifoutis omitted, a new image will be created, with the same dimensions ofaandb.