| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
Image
Image.XBM

# 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'