module PIL

The PIL module provides some facilities for interfacing with the Python Imaging Library.

Functions

image_from_pil_image(pil_image)
Creates an Image from a PIL image object.

Supported PIL image modes

Modes "RGB" and "RGBA" are supported on all platforms.
Mode "P" (indexed) is not supported on any platform.
Other modes may or may not be supported.