AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ps to pdf lettersize2/20/2023 It defaults to gs, except on Microsoft Windows, where it is gswin32c.exe. This is the Ghostscript executable to use. (v0.03) grayscale JPEG with default extension. (v0.03) color JPEG with default extension. The default depends on your Ghostscript, but is usually 75. You can control the compression quality by using gs_param => (where N is an integer from 0 to 100). It's designed for photo-realistic images, not the text and line art more commonly found in PostScript files.) jpg (Note: JPEG encoding is not recommended. The preferred PDF version (currently 1.4, but subject to change). If omitted, it will be taken from the extension of filename. If omitted, it will be calculated from input and format. Options added since version 0.01 are marked with the version they were added in (e.g. If there are an odd number of arguments following $input, then the first one is the filename. The remaining arguments after $input are key-value pairs that control the output. (Note: there are 2 underscores after get) Output options The object must implement a get_PostScript_File method that returns a PostScript::File object. Note: in eps mode, this will generate multiple output files if the document has multiple pages. An open filehandleĪny argument accepted by "openhandle" in Scalar::Util is interpreted as a filehandle to read from. This must be a reference to an array of strings, which when joined together form a PostScript document. This must be a reference to a string containing a PostScript document. This is interpreted as a filename to open. $input must be one of the following: A string It throws an exception if an error occurs. This takes the PostScript code or PDF file pointed to by $input and processes it through Ghostscript. It exports a single function: psconvert psconvert($input,, ) You will need to have Ghostscript installed. PostScript::Convert uses Ghostscript to convert PostScript or PDF to other formats. Psconvert($ps, filename => $output_filename, format => 'pnggray') DESCRIPTION Psconvert(\$postscript, $output_filename) # Base output filename on input filename: This document describes version 0.03 of PostScript::Convert, released March 15, 2014. PostScript::Convert - Use Ghostscript to convert PostScript or PDF to other formats VERSION
0 Comments
Read More
Leave a Reply. |