/
usr
/
share
/
doc
/
libtiff-devel
/
html
/
man
/
/usr/share/doc/libtiff-devel/html/man
mkdir
upload
Name
Size
Mode
Actions
CMakeLists.txt
3460
0644
edit
dl
rm
fax2ps.1.html
7741
0644
edit
dl
rm
fax2tiff.1.html
14713
0644
edit
dl
rm
HtmlDoc.cmake
2147
0644
edit
dl
rm
index.html
3826
0644
edit
dl
rm
libtiff.3tiff.html
24576
0644
edit
dl
rm
pal2rgb.1.html
5244
0644
edit
dl
rm
ppm2tiff.1.html
3979
0644
edit
dl
rm
raw2tiff.1.html
12746
0644
edit
dl
rm
tiff2bw.1.html
4057
0644
edit
dl
rm
tiff2pdf.1.html
17942
0644
edit
dl
rm
tiff2ps.1.html
15016
0644
edit
dl
rm
tiff2rgba.1.html
4588
0644
edit
dl
rm
TIFFbuffer.3tiff.html
3880
0644
edit
dl
rm
TIFFClose.3tiff.html
2479
0644
edit
dl
rm
tiffcmp.1.html
4401
0644
edit
dl
rm
TIFFcodec.3tiff.html
3700
0644
edit
dl
rm
TIFFcolor.3tiff.html
22763
0644
edit
dl
rm
tiffcp.1.html
15754
0644
edit
dl
rm
tiffcrop.1.html
20402
0644
edit
dl
rm
TIFFDataWidth.3tiff.html
2556
0644
edit
dl
rm
tiffdither.1.html
5789
0644
edit
dl
rm
tiffdump.1.html
4416
0644
edit
dl
rm
TIFFError.3tiff.html
3247
0644
edit
dl
rm
TIFFFieldDataType.3tiff.html
2182
0644
edit
dl
rm
TIFFFieldName.3tiff.html
2127
0644
edit
dl
rm
TIFFFieldPassCount.3tiff.html
2612
0644
edit
dl
rm
TIFFFieldReadCount.3tiff.html
2820
0644
edit
dl
rm
TIFFFieldTag.3tiff.html
2249
0644
edit
dl
rm
TIFFFieldWriteCount.3tiff.html
3144
0644
edit
dl
rm
TIFFFlush.3tiff.html
3345
0644
edit
dl
rm
TIFFGetField.3tiff.html
33458
0644
edit
dl
rm
tiffinfo.1.html
4454
0644
edit
dl
rm
tiffmedian.1.html
5154
0644
edit
dl
rm
TIFFmemory.3tiff.html
3569
0644
edit
dl
rm
TIFFOpen.3tiff.html
13700
0644
edit
dl
rm
TIFFPrintDirectory.3tiff.html
4733
0644
edit
dl
rm
TIFFquery.3tiff.html
5166
0644
edit
dl
rm
TIFFReadDirectory.3tiff.html
8102
0644
edit
dl
rm
TIFFReadEncodedStrip.3tiff.html
4299
0644
edit
dl
rm
TIFFReadEncodedTile.3tiff.html
4133
0644
edit
dl
rm
TIFFReadRawStrip.3tiff.html
3340
0644
edit
dl
rm
TIFFReadRawTile.3tiff.html
3425
0644
edit
dl
rm
TIFFReadRGBAImage.3tiff.html
10482
0644
edit
dl
rm
TIFFReadRGBAStrip.3tiff.html
7481
0644
edit
dl
rm
TIFFReadRGBATile.3tiff.html
8477
0644
edit
dl
rm
TIFFReadScanline.3tiff.html
5257
0644
edit
dl
rm
TIFFReadTile.3tiff.html
4278
0644
edit
dl
rm
TIFFRGBAImage.3tiff.html
12310
0644
edit
dl
rm
tiffset.1.html
4920
0644
edit
dl
rm
TIFFSetDirectory.3tiff.html
3828
0644
edit
dl
rm
TIFFSetField.3tiff.html
31093
0644
edit
dl
rm
TIFFsize.3tiff.html
2748
0644
edit
dl
rm
tiffsplit.1.html
2927
0644
edit
dl
rm
TIFFstrip.3tiff.html
4356
0644
edit
dl
rm
TIFFswab.3tiff.html
3492
0644
edit
dl
rm
TIFFtile.3tiff.html
5014
0644
edit
dl
rm
TIFFWarning.3tiff.html
3353
0644
edit
dl
rm
TIFFWriteDirectory.3tiff.html
6486
0644
edit
dl
rm
TIFFWriteEncodedStrip.3tiff.html
5093
0644
edit
dl
rm
TIFFWriteEncodedTile.3tiff.html
4894
0644
edit
dl
rm
TIFFWriteRawStrip.3tiff.html
4511
0644
edit
dl
rm
TIFFWriteRawTile.3tiff.html
3978
0644
edit
dl
rm
TIFFWriteScanline.3tiff.html
7387
0644
edit
dl
rm
TIFFWriteTile.3tiff.html
3638
0644
edit
dl
rm
Edit:
/usr/share/doc/libtiff-devel/html/man/tiff2ps.1.html
(15016B)
<!-- Creator : groff version 1.18.1 --> <!-- CreationDate: Sat Feb 24 18:37:19 2007 --> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta name="Content-Style" content="text/css"> <title>TIFF2PS</title> </head> <body> <h1 align=center>TIFF2PS</h1> <a href="#NAME">NAME</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#OPTIONS">OPTIONS</a><br> <a href="#EXAMPLES">EXAMPLES</a><br> <a href="#BUGS">BUGS</a><br> <a href="#SEE ALSO">SEE ALSO</a><br> <hr> <a name="NAME"></a> <h2>NAME</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>tiff2ps − convert a <small>TIFF</small> image to PostScript™</p> </td> </table> <a name="SYNOPSIS"></a> <h2>SYNOPSIS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p><b>tiff2ps</b> [ <i>options</i> ] <i>input.tif ...</i></p> </td> </table> <a name="DESCRIPTION"></a> <h2>DESCRIPTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p><i>tiff2ps</i> reads <small>TIFF</small> images and writes PostScript or Encapsulated PostScript (EPS) on the standard output. By default, <i>tiff2ps</i> writes Encapsulated PostScript for the first image in the specified <small>TIFF</small> image file.</p> <!-- INDENTATION --> <p>By default, <i>tiff2ps</i> will generate PostScript that fills a printed area specified by the <small>TIFF</small> tags in the input file. If the file does not contain <i>XResolution</i> or <i>YResolution</i> tags, then the printed area is set according to the image dimensions. The <b>−w</b> and <b>−h</b> options (see below) can be used to set the dimensions of the printed area in inches; overriding any relevant <small>TIFF</small> tags.</p> <!-- INDENTATION --> <p>The PostScript generated for <small>RGB,</small> palette, and <small>CMYK</small> images uses the <i>colorimage</i> operator. The PostScript generated for greyscale and bilevel images uses the <i>image</i> operator. When the <i>colorimage</i> 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.</p> <!-- INDENTATION --> <p>Color images with associated alpha data are composited over a white background.</p> </td> </table> <a name="OPTIONS"></a> <h2>OPTIONS</h2> <!-- TABS --> <table width="100%" border=0 rules="none" frame="void" cols="5" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−1</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Generate PostScript Level 1 (the default).</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−2</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Generate PostScript Level 2.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−3</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Generate PostScript Level 3. It basically allows one to use the /flateDecode filter for ZIP compressed TIFF images.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−8</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Disable use of ASCII85 encoding with PostScript Level 2/3.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−a</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Generate output for all IFDs (pages) in the input file.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−b</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Specify the bottom margin for the output (in inches). This does not affect the height of the printed image.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−c</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Center the image in the output. This option only shows an effect if both the <b>−w</b> and the <b>−h</b> option are given.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−C</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Specify the document creator name.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−d</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Set the initial <small>TIFF</small> directory to the specified directory number. (NB: Directories are numbered starting at zero.) This option is useful for selecting individual pages in a multi-page (e.g. facsimile) file.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−D</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Enable duplex printing (two pages per sheet of paper).</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−e</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Force the generation of Encapsulated PostScript (implies <b>−z</b>).</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−h</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Specify the vertical size of the printed area (in inches).</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−H</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Specify the maximum height of image (in inches). Images with larger sizes will be split in several pages. Option <b>−L</b> may be used for specifying size of split images overlapping.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−i</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Enable/disable pixel interpolation. This option requires a single numeric value: zero to disable pixel interpolation and non-zero to enable. The default is enabled.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−L</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Specify the size of overlapping for split images (in inches). Used in conjunction with <b>−H</b> and <b>−W</b> options.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−l</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Specify the left margin for the output (in inches). This does not affect the width of the printed image.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−m</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Where possible render using the <i>imagemask</i> PostScript operator instead of the <i>image</i> operator. When this option is specified <i>tiff2ps</i> will use <i>imagemask</i> for rendering 1 bit deep images. If this option is not specified or if the image depth is greater than 1 then the <i>image</i> operator is used.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−o</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Set the initial <small>TIFF</small> directory to the <small>IFD</small> at the specified file offset. This option is useful for selecting thumbnail images and the like which are hidden using the <i>SubIFD</i> tag.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−O</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Write PostScript to specified file instead of standard output.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−p</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Force the generation of (non-Encapsulated) PostScript.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−P</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Set optional PageOrientation DSC comment to Landscape or Portrait.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−r</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Rotate image by 180 degrees.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−s</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Generate output for a single IFD (page) in the input file.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−t</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Specify the document title string.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−T</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Print pages for top edge binding.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−w</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Specify the horizontal size of the printed area (in inches).</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−W</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Specify the maximum width of image (in inches). Images with larger sizes will be split in several pages. Option <b>−L</b> may be used for specifying size of split images overlapping.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−x</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Override resolution units specified in the TIFF as centimeters.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−y</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Override resolution units specified in the TIFF as inches.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="3%"> <p><b>−z</b></p> </td> <td width="5%"></td> <td width="80%"> <p>When generating PostScript Level 2, data is scaled so that it does not image into the <i>deadzone</i> on a page (the outer margin that the printing device is unable to mark). This option suppresses this behavior. When PostScript Level 1 is generated, data is imaged to the entire printed page and this option has no affect.</p> </td> <td width="0%"> </td> </table> <a name="EXAMPLES"></a> <h2>EXAMPLES</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>The following generates PostScript Level 2 for all pages of a facsimile:</p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="17%"></td> <td width="82%"> <pre>tiff2ps −a2 fax.tif | lpr </pre> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>Note also that if you have version 2.6.1 or newer of Ghostscript then you can efficiently preview facsimile generated with the above command.</p> <!-- INDENTATION --> <p>To generate Encapsulated PostScript for a the image at directory 2 of an image use:</p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="17%"></td> <td width="82%"> <pre>tiff2ps −d 1 foo.tif </pre> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>(Notice that directories are numbered starting at zero.)</p> <!-- INDENTATION --> <p>If you have a long image, it may be split in several pages:</p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="17%"></td> <td width="82%"> <pre>tiff2ps −h11 −w8.5 −H14 −L.5 foo.tif > foo.ps </pre> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>The page size is set to 8.5x11 by <b>−w</b> and <b>−h</b> options. We will accept a small amount of vertical compression, so <b>−H</b> set to 14. Any pages between 11 and 14 inches will be fit onto one page. Pages longer than 14 inches are cut off at 11 and continued on the next page. The <b>−L.5</b> option says to repeat a half inch on the next page (to improve readability).</p> </td> </table> <a name="BUGS"></a> <h2>BUGS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>Because PostScript does not support the notion of a colormap, 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.</p> <!-- INDENTATION --> <p>Does not handle tiled images when generating PostScript Level I output.</p> </td> </table> <a name="SEE ALSO"></a> <h2>SEE ALSO</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p><b>pal2rgb</b>(1), <b>tiffinfo</b>(1), <b>tiffcp</b>(1), <b>tiffgt</b>(1), <b>tiffmedian</b>(1), <b>tiff2bw</b>(1), <b>tiffsv</b>(1), <b>libtiff</b>(3)</p> <!-- INDENTATION --> <p>Libtiff library home page: <b>http://www.simplesystems.org/libtiff/</b></p> </td> </table> <hr> </body> </html>
Save
cmd:
run