'\" te .TH tiff2ps 1 "26 Mar 2004" "SunOS 5.11" "User Commands" .SH "NAME" tiff2ps \- convert a TIFF image to PostScript .SH "SYNOPSIS" .PP \fBtiff2ps\fR [\fB\fIoptions\fR\fR] \fB\fIinput\&.tif\fR\fR\&... .SH "DESCRIPTION" .PP \fBtiff2ps\fR reads TIFF images and writes PostScript or Encapsulated PostScript (EPS) on the standard output\&. By default, \fBtiff2ps\fR writes Encapsulated PostScript for the first image in the specified TIFF image file\&. .PP By default, \fBtiff2ps\fR generates PostScript that fills a printed area specified by the TIFF tags in the input file\&. If the file does not contain XResolution or YResolution tags, then the printed area is set according to the image dimensions\&. You can use the -\fBw\fR and -\fBh\fR options to set the dimensions of the printed area in inches, overriding any relevant TIFF tags\&. .PP The PostScript generated for RGB, palette, and CMYK images uses the colorimage operator\&. The PostScript generated for grayscale and bilevel images uses the image operator\&. When the colorimage operator is used, PostScript code to emulate this operator on older PostScript printers is also generated\&. Note that this emulation code can be very slow\&. .PP Color images with associated alpha data are composited over a white background\&. .SH "OPTIONS" .PP The following options are supported: .sp .ne 2 .mk \fB-\fB1\fR\fR .in +16n .rt Generate PostScript Level I\&. This is the default\&. .sp .sp 1 .in -16n .sp .ne 2 .mk \fB-\fB2\fR\fR .in +16n .rt Generate PostScript Level II\&. .sp .sp 1 .in -16n .sp .ne 2 .mk \fB-\fBa\fR\fR .in +16n .rt Generate output for all IFDs (pages) in the input file\&. .sp .sp 1 .in -16n .sp .ne 2 .mk \fB-\fBd\fR\fR .in +16n .rt Set the initial TIFF directory to the specified directory number\&. Note that directories are numbered starting at zero\&. This option is useful for selecting individual pages in a multipage file, for example facsimile\&. .sp .sp 1 .in -16n .sp .ne 2 .mk \fB-\fBe\fR\fR .in +16n .rt Force the generation of Encapsulated PostScript\&. .sp .sp 1 .in -16n .sp .ne 2 .mk \fB-\fBh\fR\fR .in +16n .rt Specify the vertical size of the printed area in inches\&. .sp .sp 1 .in -16n .sp .ne 2 .mk \fB-\fBo\fR\fR .in +16n .rt Set the initial TIFF directory to the IFD at the specified file offset\&. This option is useful for selecting thumbnail images, which are hidden using the SubIFD tag\&. .sp .sp 1 .in -16n .sp .ne 2 .mk \fB-\fBp\fR\fR .in +16n .rt Force the generation of non-Encapsulated PostScript\&. .sp .sp 1 .in -16n .sp .ne 2 .mk \fB-\fBs\fR\fR .in +16n .rt Generate output for a single IFD (page) in the input file\&. .sp .sp 1 .in -16n .sp .ne 2 .mk \fB-\fBw\fR\fR .in +16n .rt Specify the horizontal size of the printed area in inches\&. .sp .sp 1 .in -16n .sp .ne 2 .mk \fB-\fBz\fR\fR .in +16n .rt When generating PostScript Level II, data is scaled so that the data does not image into the deadzone on a page, that is, the outer margin that the printing device is unable to mark\&. This option suppresses this behavior\&. When PostScriptLevel I is generated, data is imaged to the entire printed page and this option has no affect\&. .sp .sp 1 .in -16n .SH "OPERANDS" .PP The following operands are supported: .sp .ne 2 .mk \fB\fB\fIinput\&.tif\fR\fR\fR .in +16n .rt The name of the input TIFF file\&. .sp .sp 1 .in -16n .SH "EXAMPLES" .PP \fBExample 1: Generating PostScript Level II for All Pages of a Facsimile\fR .PP .PP .nf example% \fBtiff2ps -a2 fax\&.tif | lpr\fR .fi .PP Note that if you have version 2\&.6\&.1 or newer of Ghostscript, you can efficiently preview facsimile generated by the above command\&. .PP \fBExample 2: Generating Encapsulated PostScript for the Image at Directory 2 of an Image\fR .PP .PP .nf example% \fBtiff2ps -d 1 foo\&.tif\fR .fi .PP Note that directories are numbered starting at zero\&. .SH "ATTRIBUTES" .PP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS tab() allbox; cw(2.750000i)| cw(2.750000i) lw(2.750000i)| lw(2.750000i). ATTRIBUTE TYPEATTRIBUTE VALUE Availabilityimage/library/libtiff Interface stabilityUncommitted .TE .sp .SH "SEE ALSO" .PP \fBpal2rgb\fR(1), \fBtiffinfo\fR(1), \fBtiffcp\fR(1), \fBtiffgt\fR(1), \fBtiffmedian\fR(1), \fBtiff2bw\fR(1), \fBtiffsv\fR(1), \fBlibtiff\fR(3) .SH "NOTES" .PP PostScript does not support colormaps\&. Therefore, 8-bit palette images produce 24-bit PostScript\ images\&. This conversion results in output that is six times bigger than the original image and which takes a long time to send to a printer over a serial line\&. Matters are even worse for 4-, 2-, and 1-bit palette images\&. .PP Does not support tiled images when generating PostScript Level I output\&. .PP Updated by Breda McColgan, Sun Microsystems Inc\&., 2004\&. ...\" created by instant / solbook-to-man, Thu 20 Mar 2014, 02:30 ...\" LSARC 2003/085 libtiff, libjpeg, and libpng