diff options
Diffstat (limited to 'doc/Devices.htm')
-rw-r--r-- | doc/Devices.htm | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/doc/Devices.htm b/doc/Devices.htm index c1048e59..e1629f51 100644 --- a/doc/Devices.htm +++ b/doc/Devices.htm @@ -322,6 +322,8 @@ page.</dd> </pre> </blockquote> +<p>In commercial builds, the <code>png16m</code> device will accept a <code>-dDeskew</code> option to automatically detect/correct skew when generating output bitmaps.</p> + <h3><a name="JFIF"></a>JPEG file format (JFIF)</h3> <p> @@ -543,6 +545,9 @@ device(s) 2 additional "special" ratios are available, 32 and 34. 32 provides a 3:2 downscale (so from 300 to 200 dpi, say). 34 produces a 3:4 upscale (so from 300 to 400 dpi, say).</p> +<p>In commercial builds, with 8 bit per component output, the <code>-dDeskew</code> option +can be used to automatically detect/correct skew when generating output bitmaps.</p> + <p>The <code>tiffscaled</code> and <code>tiffscaled4</code> devices can optionally use Even Toned Screening, rather than simple Floyd Steinberg error diffusion. This patented technique gives better quality at the @@ -605,6 +610,7 @@ The <code>tiffscaled24</code> device renders internally at the specified resolut (set by <code>-dDownScaleFactor</code>= described below). The compression can be set using -sCompression= as described below.</dd> +<p>In commercial builds, the <code>-dDeskew</code> option can be used to automatically detect/correct skew when generating output bitmaps.</p> <a name="tiffscaled32"></a><dt><code>tiffscaled32</code></dt> <dd> @@ -613,6 +619,8 @@ The <code>tiffscaled32</code> device renders internally at the specified resolut (set by <code>-dDownScaleFactor</code>= described below). The compression can be set using -sCompression= as described below.</dd> +<p>In commercial builds, the <code>-dDeskew</code> option can be used to automatically detect/correct skew when generating output bitmaps.</p> + </dl> </blockquote> @@ -905,6 +913,8 @@ format for the "OutputFile" (or "-o") file name parameter (see to output multiple pages to a single PSD file (i.e. without the "%d" format) will result in an <code>ioerror</code> Postscript error.</p> +<p>In commercial builds, for the <code>psdcmyk</code> and <code>psdrgb</code> devices, the <code>-dDeskew</code> option can be used to automatically detect/correct skew when generating output bitmaps.</p> + <h3><a name="PDFimage"></a>PDF image output</h3> <p> @@ -923,6 +933,7 @@ PDF files with a colour depth of 8 (Gray), 24 (RGB) or 32 (CMYK), the PCLm devic These are all implemented as 'downscale' devices, which means they can implement page level anti-aliasing using the <code>-dDownScaleFactor</code> switch. </p> + <blockquote> <dl> <dt><code>-dDownScaleFactor=</code><b><em>integer</em></b></dt> @@ -936,6 +947,8 @@ anti-aliasing using the <code>-dDownScaleFactor</code> switch. </blockquote> </blockquote> +<p>In commercial builds, the <code>-dDeskew</code> option can be used to automatically detect/correct skew when generating the output file.</p> + <p> The type of compression used for the image data can also be selected using the <code>-sCompression</code> switch. Valid compression types are <code>None</code>, <code>LZW</code>, <code>Flate</code>, <code>JPEG</code> @@ -943,13 +956,24 @@ and <code>RLE</code>.Note that LZW is not supported on PCLm (not valid) and None on PCLm for debugging purposes. </p> <p> -Finally, the PCLm device supports the <code>-dStripHeight</code> switch to set the vertical height -of the strips of image content, as required by the specification. +For JPEG compression the devices support both the JPEGQ and QFactor switches as documented for the <a href="#JFIF">JPEG</a> file format device. </p> - <p> -For JPEG compression the devices support both the JPEGQ and QFactor switches as documented for the <a href="#JFIF">JPEG</a> file format device. +In addition, the PCLm device supports some other parameters. Firstly, the +<code>-dStripHeight</code> switch to set the vertical height +of the strips of image content, as required by the specification. </p> +<p>Secondly, the standard postscript <code>-dDuplex</code> and +<code>-dTumble</code>switches are supported, in that if both are +set to true, every verso page (i.e. all even pages) will be +rotated by 180 degrees.</p> + +<p>As an extension to this, a <code>-dTumble2</code> parameter is +also supported that will add an additional X-axis flip for every +verso page. Thus <code>-dDuplex=true -dTumble=false -dTumble2=true</code> +will result in verso pages being flipped horizontally, and +<code>-dDuplex=true -dTumble=true -dTumble2=true</code> will result +in verso pages being flipped vertically.</p> <hr> @@ -2146,7 +2170,7 @@ or contact Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, CA 94945, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 9.54.0, 30 March 2021 +<small>Ghostscript version 9.55.0, 27 September 2021 <!-- [3.0 end visible trailer] ============================================= --> |