Module PIL.GdImageFile

Module Summary:

def open(fp, mode='r')
Load texture from a GD image file.
class GdImageFile:
    def __init__(self)
Image plugin for the GD uncompressed format.

Functions

open

open(fp, mode='r')

Load texture from a GD image file.

Parameters:

filename -- GD file name, or an opened file handle.

mode -- Optional mode. In this version, if the mode argument is given, it must be "r".

Returns:

An image instance.

Exceptions:

IOError -- Indicates that the image could not be read.

Classes

The GdImageFile Class

GdImageFile()

Image plugin for the GD uncompressed format. Note that this format is not supported by the standard Image.open function. To use this plugin, you have to import the GdImageFile module and use the GdImageFile.open function.