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

[Top]
Image
Image.PS

# Method Image.PS.encode()

Method encode

  `string encode(object img, mapping|void options)`

Description

  Encodes the image object img as a postscript 3.0 file.

Parameter `options`

  Optional extra encoding parameters.

  `"dpi" : int` | The resolution of the encoded image. Defaults to 100.
  `"eps" : int(0..1)` | If the resulting image should be an eps instead of ps. Defaults to 0, no.