Method Image.XBM.encode()


Method encode

string encode(object image)
string encode(object image, object mappingoptions)

Description

Encodes a XBM image.

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

normal options:
    "name":"xbm_image_name"
        The name of the XBM. Defaults to 'image'