string encode(object img, mapping|void options)
Encodes the image object img as a postscript 3.0 file.
Optional extra encoding parameters.
The resolution of the encoded image. Defaults to 100.
If the resulting image should be an eps instead of ps. Defaults to 0, no.