https://pillow.readthedocs.io/en/stable/reference/ImageMath.html
ImageMath module - Pillow (PIL Fork) 12.3.0 documentation
The ImageMath module can be used to evaluate “image expressions”, that can take a number of images and generate a result. ImageMath only supports single-layer...
imagemath modulepillowforkdocumentation