1 .\" $Id: tiff2ps.1,v 1.10 2009-01-12 02:05:19 bfriesen Exp $
3 .\" Copyright (c) 1988-1997 Sam Leffler
4 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
6 .\" Permission to use, copy, modify, distribute, and sell this software and
7 .\" its documentation for any purpose is hereby granted without fee, provided
8 .\" that (i) the above copyright notices and this permission notice appear in
9 .\" all copies of the software and related documentation, and (ii) the names of
10 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
11 .\" publicity relating to the software without the specific, prior written
12 .\" permission of Sam Leffler and Silicon Graphics.
14 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
15 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
16 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
18 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
19 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
20 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
22 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
27 .TH TIFF2PS 1 "November 2, 2005" "libtiff"
42 images and writes \*(Ps or Encapsulated \*(Ps (EPS)
43 on the standard output.
46 writes Encapsulated \*(Ps for the first image in the specified
52 will generate \*(Ps that fills a printed area specified
55 tags in the input file.
56 If the file does not contain
60 tags, then the printed area is set according to the image dimensions.
66 can be used to set the dimensions of the printed area in inches;
67 overriding any relevant
71 The \*(Ps generated for
78 The \*(Ps generated for
79 greyscale and bilevel images
85 operator is used, \*(Ps code to emulate this operator
86 on older \*(Ps printers is also generated.
87 Note that this emulation code can be very slow.
89 Color images with associated alpha data are composited over
94 Generate \*(Ps Level 1 (the default).
97 Generate \*(Ps Level 2.
100 Generate \*(Ps Level 3. It basically allows one to use the /flateDecode
101 filter for ZIP compressed TIFF images.
104 Generate output for all IFDs (pages) in the input file.
107 Specify the bottom margin for the output (in inches). This does not affect
108 the height of the printed image.
111 Center the image in the output. This option only shows an effect if both
121 directory to the specified directory number.
122 (NB: Directories are numbered starting at zero.)
123 This option is useful for selecting individual pages in a
124 multi-page (e.g. facsimile) file.
127 Force the generation of Encapsulated \*(Ps (implies
131 Specify the vertical size of the printed area (in inches).
134 Specify the maximum height of image (in inches). Images with larger sizes will
135 be split in several pages. Option
137 may be used for specifying size of split images overlapping.
140 Specify the maximum width of image (in inches). Images with larger sizes will
141 be split in several pages. Options
145 are mutually exclusive.
147 Enable/disable pixel interpolation. This option requires a
148 single numeric value: zero to disable pixel interpolation and
149 non-zero to enable. The default is enabled.
152 Specify the size of overlapping for split images (in inches). Used in
160 Specify the left margin for the output (in inches). This does not affect
161 the width of the printed image.
164 Where possible render using the
166 \*(Ps operator instead of the
168 operator. When this option is specified
172 for rendering 1 bit deep images. If this option is not specified
173 or if the image depth is greater than 1 then the
182 at the specified file offset.
183 This option is useful for selecting thumbnail images and the
184 like which are hidden using the
189 Force the generation of (non-Encapsulated) \*(Ps.
191 .B \-r 90|180|270|auto
192 Rotate image by 90, 180, 270 degrees or auto. Auto picks the best
193 fit for the image on the specified paper size (eg portrait
194 or landscape) if -h or -w is specified. Rotation is in degrees
195 counterclockwise. Auto rotates 90 degrees ccw to produce landscape.
198 Generate output for a single IFD (page) in the input file.
201 Specify the horizontal size of the printed area (in inches).
204 Override resolution units specified in the TIFF as centimeters.
207 Override resolution units specified in the TIFF as inches.
210 When generating \*(Ps Level 2, data is scaled so that it does not
213 on a page (the outer margin that the printing device is unable to mark).
214 This option suppresses this behavior.
215 When \*(Ps Level 1 is generated, data is imaged to the entire printed
216 page and this option has no affect.
218 The following generates \*(Ps Level 2 for all pages of a facsimile:
221 tiff2ps \-a2 fax.tif | lpr
224 Note also that if you have version 2.6.1 or newer of Ghostscript then you
225 can efficiently preview facsimile generated with the above command.
227 To generate Encapsulated \*(Ps for a the image at directory 2
231 tiff2ps \-d 1 foo.tif
234 (Notice that directories are numbered starting at zero.)
236 If you have a long image, it may be split in several pages:
239 tiff2ps \-h11 \-w8.5 \-H14 \-L.5 foo.tif > foo.ps
242 The page size is set to 8.5x11 by
246 options. We will accept a small amount of vertical compression, so
248 set to 14. Any pages between 11 and 14 inches will be fit onto one page.
249 Pages longer than 14 inches are cut off at 11 and continued on the next
252 option says to repeat a half inch on the next page (to improve readability).
254 Because \*(Ps does not support the notion of a colormap,
255 8-bit palette images produce 24-bit \*(Ps images.
256 This conversion results in output that is six times
257 bigger than the original image and which takes a long time
258 to send to a printer over a serial line.
259 Matters are even worse for 4-, 2-, and 1-bit palette images.
261 Does not handle tiled images when generating \*(Ps Level I output.
272 Libtiff library home page:
273 .BR http://www.remotesensing.org/libtiff/