Extracted from Pike v7.4 release 341 at 2005-11-21.
pike.ida.liu.se
[Top]
predef::
Image
Image.TIFF

Method Image.TIFF._encode()


Method _encode

string Image.TIFF.encode(object image)
string Image.TIFF.encode(object image, object mappingoptions)
string Image.TIFF._encode(object image)
string Image.TIFF._encode(object image, object mappingoptions)

Description

encode and _encode are identical.

The options argument may be a mapping containing zero or more encoding options:

normal options:
    "compression":Image.TIFF.COMPRESSION_*,
    "name":"an image name",
    "comment":"an image comment",
    "alpha":An alpha channel,
    "dpy":Dots per inch (as a float),
    "xdpy":Horizontal dots per inch (as a float),
    "ydpy":Vertical dots per inch (as a float),