Windows PowerShell command on Get-command tiff2ps
MyWebUniversity

Manual Pages for UNIX Operating System command usage for man tiff2ps

User Commands tiff2ps(1)

NAME

tiff2ps - convert a TIFF image to PostScript

SYNOPSIS

tiff2ps [options] input.tif...

DESCRIPTION

tiff2ps reads TIFF images and writes PostScript or Encapsu-

lated PostScript (EPS) on the standard output. By default,

tiff2ps writes Encapsulated PostScript for the first image

in the specified TIFF image file.

By default, tiff2ps 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 -w and -h options to set the

dimensions of the printed area in inches, overriding any relevant TIFF tags. 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 gen-

erated. Note that this emulation code can be very slow. Color images with associated alpha data are composited over a white background. OPTIONS The following options are supported:

-1 Generate PostScript Level I. This is the

default.

-2 Generate PostScript Level II.

-a Generate output for all IFDs (pages) in the

input file.

-d Set the initial TIFF directory to the speci-

fied 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.

SunOS 5.11 Last change: 26 Mar 2004 1

User Commands tiff2ps(1)

-e Force the generation of Encapsulated

PostScript.

-h Specify the vertical size of the printed

area in inches.

-o 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.

-p Force the generation of non-Encapsulated

PostScript.

-s Generate output for a single IFD (page) in

the input file.

-w Specify the horizontal size of the printed

area in inches.

-z 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 gen-

erated, data is imaged to the entire printed page and this option has no affect. OPERANDS The following operands are supported: input.tif The name of the input TIFF file.

EXAMPLES

SunOS 5.11 Last change: 26 Mar 2004 2

User Commands tiff2ps(1)

Example 1: Generating PostScript Level II for All Pages of a Facsimile

example% tiff2ps -a2 fax.tif | lpr

Note that if you have version 2.6.1 or newer of Ghostscript, you can efficiently preview facsimile generated by the above command. Example 2: Generating Encapsulated PostScript for the Image at Directory 2 of an Image

example% tiff2ps -d 1 foo.tif

Note that directories are numbered starting at zero.

ATTRIBUTES

See attributes(5) for descriptions of the following attri-

butes:

____________________________________________________________

| ATTRIBUTE TYPE | ATTRIBUTE VALUE |

|_____________________________|_____________________________|

| Availability | image/library/libtiff |

|_____________________________|_____________________________|

| Interface stability | Uncommitted |

|_____________________________|_____________________________|

SEE ALSO

pal2rgb(1), tiffinfo(1), tiffcp(1), tiffgt(1), tiff-

median(1), tiff2bw(1), tiffsv(1), libtiff(3) NOTES

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.

Does not support tiled images when generating PostScript Level I output. Updated by Breda McColgan, Sun Microsystems Inc., 2004.

SunOS 5.11 Last change: 26 Mar 2004 3




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™