1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Mon Mar 13 18:03:13 2006 -->
5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
6 <meta name=
"Content-Style" content=
"text/css">
11 <h1 align=center
>TIFF2PS
</h1>
12 <a href=
"#NAME">NAME
</a><br>
13 <a href=
"#SYNOPSIS">SYNOPSIS
</a><br>
14 <a href=
"#DESCRIPTION">DESCRIPTION
</a><br>
15 <a href=
"#OPTIONS">OPTIONS
</a><br>
16 <a href=
"#EXAMPLES">EXAMPLES
</a><br>
17 <a href=
"#BUGS">BUGS
</a><br>
18 <a href=
"#BUGS">BUGS
</a><br>
19 <a href=
"#SEE ALSO">SEE ALSO
</a><br>
25 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
26 cols=
"2" cellspacing=
"0" cellpadding=
"0">
27 <tr valign=
"top" align=
"left">
30 <p>tiff2ps
− convert a
<small>TIFF
</small> image to
34 <a name=
"SYNOPSIS"></a>
37 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
38 cols=
"2" cellspacing=
"0" cellpadding=
"0">
39 <tr valign=
"top" align=
"left">
42 <p><b>tiff2ps
</b> [
<i>options
</i> ]
<i>input.tif
46 <a name=
"DESCRIPTION"></a>
49 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
50 cols=
"2" cellspacing=
"0" cellpadding=
"0">
51 <tr valign=
"top" align=
"left">
54 <p><i>tiff2ps
</i> reads
<small>TIFF
</small> images and
55 writes or Encapsulated (EPS) on the standard output. By
56 default,
<i>tiff2ps
</i> writes Encapsulated for the first
57 image in the specified
<small>TIFF
</small> image file.
</p>
59 <p>By default,
<i>tiff2ps
</i> will generate that fills a
60 printed area specified by the
<small>TIFF
</small> tags in
61 the input file. If the file does not contain
62 <i>XResolution
</i> or
<i>YResolution
</i> tags, then the
63 printed area is set according to the image dimensions. The
64 <b>−w
</b> and
<b>−h
</b> options (see below) can
65 be used to set the dimensions of the printed area in inches;
66 overriding any relevant
<small>TIFF
</small> tags.
</p>
68 <p>The generated for
<small>RGB,
</small> palette, and
69 <small>CMYK
</small> images uses the
<i>colorimage
</i>
70 operator. The generated for greyscale and bilevel images
71 uses the
<i>image
</i> operator. When the
<i>colorimage
</i>
72 operator is used, code to emulate this operator on older
73 printers is also generated. Note that this emulation code
76 <p>Color images with associated alpha data are composited
77 over a white background.
</p>
80 <a name=
"OPTIONS"></a>
83 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
84 cols=
"5" cellspacing=
"0" cellpadding=
"0">
85 <tr valign=
"top" align=
"left">
89 <p><b>−1</b></p>
94 <p>Generate Level
1 (the default).
</p>
98 <tr valign=
"top" align=
"left">
102 <p><b>−2</b></p>
107 <p>Generate Level
2.
</p>
111 <tr valign=
"top" align=
"left">
112 <td width=
"10%"></td>
115 <p><b>−3</b></p>
120 <p>Generate Level
3. It basically allows one to use the
121 /flateDecode filter for ZIP compressed TIFF images.
</p>
125 <tr valign=
"top" align=
"left">
126 <td width=
"10%"></td>
129 <p><b>−a
</b></p>
134 <p>Generate output for all IFDs (pages) in the input
139 <tr valign=
"top" align=
"left">
140 <td width=
"10%"></td>
143 <p><b>−b
</b></p>
148 <p>Specify the bottom margin for the output (in inches).
149 This does not affect the height of the printed image.
</p>
153 <tr valign=
"top" align=
"left">
154 <td width=
"10%"></td>
157 <p><b>−c
</b></p>
162 <p>Center the image in the output. This option only shows
163 an effect if both the -w and the -h option are given.
</p>
167 <tr valign=
"top" align=
"left">
168 <td width=
"10%"></td>
171 <p><b>−d
</b></p>
176 <p>Set the initial
<small>TIFF
</small> directory to the
177 specified directory number. (NB: directories are numbered
178 starting at zero.) This option is useful for selecting
179 individual pages in a multi-page (e.g. facsimile) file.
</p>
183 <tr valign=
"top" align=
"left">
184 <td width=
"10%"></td>
187 <p><b>−e
</b></p>
192 <p>Force the generation of Encapsulated (implies -z).
</p>
196 <tr valign=
"top" align=
"left">
197 <td width=
"10%"></td>
200 <p><b>−h
</b></p>
205 <p>Specify the vertical size of the printed area (in
210 <tr valign=
"top" align=
"left">
211 <td width=
"10%"></td>
214 <p><b>−H
</b></p>
219 <p>Specify the maximum height of image (in inches). Images
220 with larger sizes will be split in several pages. Option
221 <b>−L
</b> may be used for specifying size of split
222 images overlapping.
</p>
226 <tr valign=
"top" align=
"left">
227 <td width=
"10%"></td>
230 <p><b>−i
</b></p>
235 <p>Enable/disable pixel interpolation. This option requires
236 a single numeric value: zero to disable pixel interpolation
237 and non-zero to enable. The default is enabled.
</p>
241 <tr valign=
"top" align=
"left">
242 <td width=
"10%"></td>
245 <p><b>−L
</b></p>
250 <p>Specify the size of overlapping for split images (in
251 inches). Used in conjunction with
<b>−H
</b>
256 <tr valign=
"top" align=
"left">
257 <td width=
"10%"></td>
260 <p><b>−l
</b></p>
265 <p>Specify the left margin for the output (in inches). This
266 does not affect the width of the printed image.
</p>
270 <tr valign=
"top" align=
"left">
271 <td width=
"10%"></td>
274 <p><b>−m
</b></p>
279 <p>Where possible render using the
<b>imagemask
</b>
280 operator instead of the image operator. When this option is
281 specified
<i>tiff2ps
</i> will use
<b>imagemask
</b> for
282 rendering
1 bit deep images. If this option is not specified
283 or if the image depth is greater than
1 then the image
284 operator is used.
</p>
288 <tr valign=
"top" align=
"left">
289 <td width=
"10%"></td>
292 <p><b>−o
</b></p>
297 <p>Set the initial
<small>TIFF
</small> directory to the
298 <small>IFD
</small> at the specified file offset. This option
299 is useful for selecting thumbnail images and the like which
300 are hidden using the SubIFD tag.
</p>
304 <tr valign=
"top" align=
"left">
305 <td width=
"10%"></td>
308 <p><b>−p
</b></p>
313 <p>Force the generation of (non-Encapsulated) .
</p>
317 <tr valign=
"top" align=
"left">
318 <td width=
"10%"></td>
321 <p><b>−r
</b></p>
326 <p>Rotate image by
180 degrees.
</p>
330 <tr valign=
"top" align=
"left">
331 <td width=
"10%"></td>
334 <p><b>−s
</b></p>
339 <p>Generate output for a single IFD (page) in the input
344 <tr valign=
"top" align=
"left">
345 <td width=
"10%"></td>
348 <p><b>−w
</b></p>
353 <p>Specify the horizontal size of the printed area (in
358 <tr valign=
"top" align=
"left">
359 <td width=
"10%"></td>
362 <p><b>−x
</b></p>
367 <p>Override resolution units specified in the TIFF as
372 <tr valign=
"top" align=
"left">
373 <td width=
"10%"></td>
376 <p><b>−y
</b></p>
381 <p>Override resolution units specified in the TIFF as
386 <tr valign=
"top" align=
"left">
387 <td width=
"10%"></td>
390 <p><b>−z
</b></p>
395 <p>When generating Level
2, data is scaled so that it does
396 not image into the
<i>deadzone
</i> on a page (the outer
397 margin that the printing device is unable to mark). This
398 option suppresses this behavior. When Level
1 is generated,
399 data is imaged to the entire printed page and this option
405 <a name=
"EXAMPLES"></a>
408 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
409 cols=
"2" cellspacing=
"0" cellpadding=
"0">
410 <tr valign=
"top" align=
"left">
413 <p>The following generates Level
2 for all pages of a
417 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
418 cols=
"2" cellspacing=
"0" cellpadding=
"0">
419 <tr valign=
"top" align=
"left">
420 <td width=
"17%"></td>
422 <pre>tiff2ps -a2 fax.tif | lpr
428 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
429 cols=
"2" cellspacing=
"0" cellpadding=
"0">
430 <tr valign=
"top" align=
"left">
433 <p>Note also that if you have version
2.6.1 or newer of
434 Ghostscript then you can efficiently preview facsimile
435 generated with the above command.
</p>
437 <p>To generate Encapsulated for a the image at directory
2
438 of an image use:
</p></td>
441 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
442 cols=
"2" cellspacing=
"0" cellpadding=
"0">
443 <tr valign=
"top" align=
"left">
444 <td width=
"17%"></td>
446 <pre>tiff2ps -d
1 foo.tif
452 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
453 cols=
"2" cellspacing=
"0" cellpadding=
"0">
454 <tr valign=
"top" align=
"left">
457 <p>(notice that directories are numbered starting at
460 <p>If you have a long image, it may be split in several
464 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
465 cols=
"2" cellspacing=
"0" cellpadding=
"0">
466 <tr valign=
"top" align=
"left">
467 <td width=
"17%"></td>
469 <pre>tiff2ps -h11 -w8.5 -H14 -L
.5 foo.tif
> foo.ps
475 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
476 cols=
"2" cellspacing=
"0" cellpadding=
"0">
477 <tr valign=
"top" align=
"left">
480 <p>The page size is set to
8.5x11 by
<b>−w
</b> and
481 <b>−h
</b> options. We will accept a small amount of
482 vertical compression, so
<b>−H
</b> set to
14. Any
483 pages between
11 and
14 inches will be fit onto one page.
484 Pages longer than
14 inches are cut off at
11 and continued
485 on the next page. The
<b>−L
.5</b> option says to
486 repeat a half inch on the next page (to improve
493 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
494 cols=
"2" cellspacing=
"0" cellpadding=
"0">
495 <tr valign=
"top" align=
"left">
498 <p>Because does not support the notion of a colormap,
8-bit
499 palette images produce
24-bit images. This conversion
500 results in output that is six times bigger than the original
501 image and which takes a long time to send to a printer over
502 a serial line. Matters are even worse for
4-,
2-, and
1-bit
509 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
510 cols=
"2" cellspacing=
"0" cellpadding=
"0">
511 <tr valign=
"top" align=
"left">
514 <p>Does not handle tiled images when generating PS Level I
518 <a name=
"SEE ALSO"></a>
521 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
522 cols=
"2" cellspacing=
"0" cellpadding=
"0">
523 <tr valign=
"top" align=
"left">
526 <p><b>pal2rgb
</b>(
1),
<b>tiffinfo
</b>(
1),
<b>tiffcp
</b>(
1),
527 <b>tiffgt
</b>(
1),
<b>tiffmedian
</b>(
1),
<b>tiff2bw
</b>(
1),
528 <b>tiffsv
</b>(
1),
<b>libtiff
</b>(
3)
</p>
530 <p>Libtiff library home page:
531 <b>http://www.remotesensing.org/libtiff/
</b></p>