1. ImageChops introduction

The ImageChops module contains a number of arithmetical image operations, called channel operations (“chops”).
For more pre-made operations, see ImageOps.
At this time, most channel operations are only implemented for 8-bit images (e.g. “L” and “RGB”).
Most channel operations take one or two image arguments and return a new image.
The result of a channel operation is always clipped to the range 0 to 255.

Below is a list of ImageImageChops methods.
Most take 2 images as input.
The right hand image is the output.
ImageChops_add
../_images/compare_add.png

ImageChops_add_modulo
../_images/compare_add_modulo.png

ImageChops_blend
../_images/compare_blend.png

ImageChops_composite
../_images/compare_composite.png

ImageChops_constant
../_images/constant.png

ImageChops_darker
../_images/compare_darker.png

ImageChops_difference
../_images/compare_difference.png

ImageChops_duplicate (The copy has been converted to greyscale)
../_images/compare_duplicate.png

ImageChops_invert
../_images/compare_invert.png

ImageChops_lighter
../_images/compare_lighter.png

ImageChops_logical_and
../_images/compare_logical_and.png

ImageChops_logical_or
../_images/compare_logical_or.png

ImageChops_logical_xor
../_images/compare_logical_xor.png

ImageChops_multiply
../_images/compare_multiply.png

ImageChops_soft_light
../_images/compare_soft_light.png

ImageChops_hard_light
../_images/compare_hard_light.png

ImageChops_overlay
../_images/compare_overlay.png

ImageChops_offset
../_images/compare_offset.png

ImageChops_screen
../_images/compare_screen.png

ImageChops_subtract
../_images/compare_subtract.png

ImageChops_subtract_modulo
../_images/compare_subtract_modulo.png