Pike v8.1 release 6

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