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"
:bool
If the resulting image should be an eps instead of ps. Defaults to 0, no.