pillow

pillow is a python library for processing images. It can perform many of the basic non-interactive tasks that are available in programs such as Photoshop or GIMP