Commit | Line | Data |
---|---|---|
8414a40c VZ |
1 | <!-- Creator : groff version 1.18.1 --> |
2 | <!-- CreationDate: Mon Mar 13 18:03:12 2006 --> | |
3 | <html> | |
4 | <head> | |
5 | <meta name="generator" content="groff -Thtml, see www.gnu.org"> | |
6 | <meta name="Content-Style" content="text/css"> | |
7 | <title>PPM2TIFF</title> | |
8 | </head> | |
9 | <body> | |
10 | ||
11 | <h1 align=center>PPM2TIFF</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="#SEE ALSO">SEE ALSO</a><br> | |
17 | ||
18 | <hr> | |
19 | <a name="NAME"></a> | |
20 | <h2>NAME</h2> | |
21 | <!-- INDENTATION --> | |
22 | <table width="100%" border=0 rules="none" frame="void" | |
23 | cols="2" cellspacing="0" cellpadding="0"> | |
24 | <tr valign="top" align="left"> | |
25 | <td width="8%"></td> | |
26 | <td width="91%"> | |
27 | <p>ppm2tiff − create a <small>TIFF</small> file from | |
28 | <small>PPM, PGM</small> and <small>PBM</small> image | |
29 | files</p> | |
30 | </td> | |
31 | </table> | |
32 | <a name="SYNOPSIS"></a> | |
33 | <h2>SYNOPSIS</h2> | |
34 | <!-- INDENTATION --> | |
35 | <table width="100%" border=0 rules="none" frame="void" | |
36 | cols="2" cellspacing="0" cellpadding="0"> | |
37 | <tr valign="top" align="left"> | |
38 | <td width="8%"></td> | |
39 | <td width="91%"> | |
40 | <p><b>ppm2tiff</b> [ <i>options</i> ] [ <i>input.ppm</i> ] | |
41 | <i>output.tif</i></p> | |
42 | </td> | |
43 | </table> | |
44 | <a name="DESCRIPTION"></a> | |
45 | <h2>DESCRIPTION</h2> | |
46 | <!-- INDENTATION --> | |
47 | <table width="100%" border=0 rules="none" frame="void" | |
48 | cols="2" cellspacing="0" cellpadding="0"> | |
49 | <tr valign="top" align="left"> | |
50 | <td width="8%"></td> | |
51 | <td width="91%"> | |
52 | <p><i>ppm2tiff</i> converts a file in the <small>PPM, | |
53 | PGM</small> and <small>PBM</small> image formats to | |
54 | <small>TIFF.</small> By default, the <small>TIFF</small> | |
55 | image is created with data samples packed | |
56 | (<i>PlanarConfiguration</i>=1), compressed with the Packbits | |
57 | algorithm (<i>Compression</i>=32773), and with each strip no | |
58 | more than 8 kilobytes. These characteristics can be | |
59 | overridden, or explicitly specified with the options | |
60 | described below</p> | |
61 | <!-- INDENTATION --> | |
62 | <p>If the <small>PPM</small> file contains greyscale data, | |
63 | then the <i>PhotometricInterpretation</i> tag is set to 1 | |
64 | (min-is-black), otherwise it is set to 2 (RGB).</p> | |
65 | <!-- INDENTATION --> | |
66 | <p>If no <small>PPM</small> file is specified on the command | |
67 | line, <i>ppm2tiff</i> will read from the standard input.</p> | |
68 | </td> | |
69 | </table> | |
70 | <a name="OPTIONS"></a> | |
71 | <h2>OPTIONS</h2> | |
72 | <!-- TABS --> | |
73 | <table width="100%" border=0 rules="none" frame="void" | |
74 | cols="5" cellspacing="0" cellpadding="0"> | |
75 | <tr valign="top" align="left"> | |
76 | <td width="10%"></td> | |
77 | <td width="3%"> | |
78 | ||
79 | <p><b>−c</b></p> | |
80 | </td> | |
81 | <td width="5%"></td> | |
82 | <td width="80%"> | |
83 | ||
84 | <p>Specify a compression scheme to use when writing image | |
85 | data: <b>none</b> for no compression, <b>packbits</b> for | |
86 | PackBits compression (will be used by default), <b>lzw</b> | |
87 | for Lempel-Ziv & Welch compression, <b>jpeg</b> for | |
88 | baseline JPEG compression, <b>zip</b> for Deflate | |
89 | compression, <b>g3</b> for CCITT Group 3 (T.4) compression, | |
90 | and <b>g4</b> for CCITT Group 4 (T.6) compression.</p> | |
91 | </td> | |
92 | <td width="0%"> | |
93 | </td> | |
94 | <tr valign="top" align="left"> | |
95 | <td width="10%"></td> | |
96 | <td width="3%"> | |
97 | ||
98 | <p><b>−r</b></p> | |
99 | </td> | |
100 | <td width="5%"></td> | |
101 | <td width="80%"> | |
102 | ||
103 | <p>Write data with a specified number of rows per strip; by | |
104 | default the number of rows/strip is selected so that each | |
105 | strip is approximately 8 kilobytes.</p> | |
106 | </td> | |
107 | <td width="0%"> | |
108 | </td> | |
109 | <tr valign="top" align="left"> | |
110 | <td width="10%"></td> | |
111 | <td width="3%"> | |
112 | ||
113 | <p><b>−R</b></p> | |
114 | </td> | |
115 | <td width="5%"></td> | |
116 | <td width="80%"> | |
117 | ||
118 | <p>Mark the resultant image to have the specified X and Y | |
119 | resolution (in dots/inch).</p> | |
120 | </td> | |
121 | <td width="0%"> | |
122 | </td> | |
123 | </table> | |
124 | <a name="SEE ALSO"></a> | |
125 | <h2>SEE ALSO</h2> | |
126 | <!-- INDENTATION --> | |
127 | <table width="100%" border=0 rules="none" frame="void" | |
128 | cols="2" cellspacing="0" cellpadding="0"> | |
129 | <tr valign="top" align="left"> | |
130 | <td width="8%"></td> | |
131 | <td width="91%"> | |
132 | <p><b>tiffinfo</b>(1), <b>tiffcp</b>(1), | |
133 | <b>tiffmedian</b>(1), <b>libtiff</b>(3)</p> | |
134 | <!-- INDENTATION --> | |
135 | <p>Libtiff library home page: | |
136 | <b>http://www.remotesensing.org/libtiff/</b></p> | |
137 | </td> | |
138 | </table> | |
139 | <hr> | |
140 | </body> | |
141 | </html> |