1TIFF2PS(1)                  General Commands Manual                 TIFF2PS(1)
2
3
4

NAME

6       tiff2ps - convert a TIFF image to ™
7

SYNOPSIS

9       tiff2ps [ options ] input.tif ...
10

DESCRIPTION

12       tiff2ps  reads  TIFF  images  and writes  or Encapsulated  (EPS) on the
13       standard output.  By default,  tiff2ps  writes  Encapsulated   for  the
14       first image in the specified TIFF image file.
15
16       By  default, tiff2ps will generate  that fills a printed area specified
17       by the TIFF tags in the input file.  If the file does not contain XRes‐
18       olution  or YResolution tags, then the printed area is set according to
19       the image dimensions.  The -w and -h options (see below) can be used to
20       set  the dimensions of the printed area in inches; overriding any rele‐
21       vant TIFF tags.
22
23       The  generated for RGB, palette, and CMYK images  uses  the  colorimage
24       operator.   The   generated  for  greyscale and bilevel images uses the
25       image operator.  When the colorimage operator is used,  code to emulate
26       this  operator  on  older   printers is also generated.  Note that this
27       emulation code can be very slow.
28
29       Color images with associated alpha data are  composited  over  a  white
30       background.
31

OPTIONS

33       -1     Generate  Level 1 (the default).
34
35       -2     Generate  Level 2.
36
37       -3     Generate   Level 3. It basically allows one to use the /flateDe‐
38              code filter for ZIP compressed TIFF images.
39
40       -a     Generate output for all IFDs (pages) in the input file.
41
42       -b     Specify the bottom margin for the output (in inches). This  does
43              not affect the height of the printed image.
44
45       -c     Center the image in the output. This option only shows an effect
46              if both the -w and the -h option are given.
47
48       -d     Set the initial TIFF directory to the specified  directory  num‐
49              ber.   (NB:  directories  are  numbered starting at zero.)  This
50              option is useful for selecting individual pages in a  multi-page
51              (e.g. facsimile) file.
52
53       -e     Force the generation of Encapsulated  (implies -z).
54
55       -h     Specify the vertical size of the printed area (in inches).
56
57       -H     Specify  the  maximum  height  of image (in inches). Images with
58              larger sizes will be split in several pages. Option  -L  may  be
59              used for specifying size of split images overlapping.
60
61       -i     Enable/disable pixel interpolation.  This option requires a sin‐
62              gle numeric value: zero to disable pixel interpolation and  non-
63              zero to enable.  The default is enabled.
64
65       -L     Specify  the  size  of overlapping for split images (in inches).
66              Used in conjunction with -H option.
67
68       -l     Specify the left margin for the output (in  inches).  This  does
69              not affect the width of the printed image.
70
71       -m     Where possible render using the imagemask
72               operator  instead  of  the image operator.  When this option is
73              specified tiff2ps will use imagemask for rendering  1  bit  deep
74              images.   If  this option is not specified or if the image depth
75              is greater than 1 then the image operator is used.
76
77       -o     Set the initial TIFF directory to the IFD at the specified  file
78              offset.   This  option  is useful for selecting thumbnail images
79              and the like which are hidden using the SubIFD tag.
80
81       -p     Force the generation of (non-Encapsulated) .
82
83       -r     Rotate image by 180 degrees.
84
85       -s     Generate output for a single IFD (page) in the input file.
86
87       -w     Specify the horizontal size of the printed area (in inches).
88
89       -x     Override resolution units specified in the TIFF as centimeters.
90
91       -y     Override resolution units specified in the TIFF as inches.
92
93       -z     When generating  Level 2, data is scaled so  that  it  does  not
94              image  into  the  deadzone  on a page (the outer margin that the
95              printing device is unable to mark).  This option suppresses this
96              behavior.   When   Level  1  is generated, data is imaged to the
97              entire printed page and this option has no affect.
98

EXAMPLES

100       The following generates  Level 2 for all pages of a facsimile:
101              tiff2ps -a2 fax.tif | lpr
102       Note also that if you have version 2.6.1 or newer of  Ghostscript  then
103       you can efficiently preview facsimile generated with the above command.
104
105       To  generate  Encapsulated   for a the image at directory 2 of an image
106       use:
107              tiff2ps -d 1 foo.tif
108       (notice that directories are numbered starting at zero.)
109
110       If you have a long image, it may be split in several pages:
111              tiff2ps -h11 -w8.5 -H14 -L.5 foo.tif > foo.ps
112       The page size is set to 8.5x11 by -w and -h options. We will  accept  a
113       small  amount  of  vertical  compression,  so  -H  set to 14. Any pages
114       between 11 and 14 inches will be fit onto one page.  Pages longer  than
115       14  inches  are  cut off at 11 and continued on the next page. The -L.5
116       option says to repeat a half inch on the next page  (to  improve  read‐
117       ability).
118

BUGS

120       Because   does  not  support  the  notion  of a colormap, 8-bit palette
121       images produce 24-bit  images.  This conversion results in output  that
122       is six times bigger than the original image and which takes a long time
123       to send to a printer over a serial line.  Matters are  even  worse  for
124       4-, 2-, and 1-bit palette images.
125

BUGS

127       Does not handle tiled images when generating PS Level I output.
128

SEE ALSO

130       pal2rgb(1),    tiffinfo(1),    tiffcp(1),   tiffgt(1),   tiffmedian(1),
131       tiff2bw(1), tiffsv(1), libtiff(3)
132
133       Libtiff library home page: http://www.remotesensing.org/libtiff/
134
135
136
137libtiff                        November 2, 2005                     TIFF2PS(1)
Impressum