Method Image.PS.decode()
- Method decode
 objectdecode(stringdata,mapping|voidoptions)- Description
 Decodes the postscript
datainto an image object using Ghostscript.- Parameter 
options Optional decoding parameters.
"dpi":intThe resolution the image should be rendered in. Defaults to 100.
"device":stringThe selected Ghostscript device. Defaults to "ppmraw".
"binary":stringPath to the Ghostscript binary to be used. If missing the environment paths will be searched for a file "gs" to be used instead.
"force_gs":boolForces use of Ghostscript for EPS files instead of Pikes native support.
"eps_crop":boolUse -dEPSCrop option to Ghostscript to crop the BoundingBox for a EPS file.
"cie_color":boolUse -dUseCIEColor option to Ghostscript for mapping color values through a CIE color space.
"file":stringFilename to read. If this is specified, it will be passed along to the gs binary, so that it can read the file directly. If this is specified
datamay be set to0(zero).- Note
 Some versions of gs on MacOS X have problems with reading files on stdin. If this occurrs, try writing to a plain file and specifying the file option.
- Note
 gs versions 7.x and earlier don't support rendering of EPSes if they are specified with the file option. If this is a problem, upgrade to gs version 8.x or later.