| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
Image
Image.RAS

# Method Image.RAS.encode()

Method encode

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

Description

  Encodes a RAS image.

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

      normal options:

          "palette":colortable object
              Use this as palette for pseudocolor encoding