Debian Codegraph @

userguide/pamtohtmltbl.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
2 <html><head><title>Pamtohtmltbl User Manual</title></head>
3 <body>
4 <h1>pamtohtmltbl</h1>
5 Updated: 13 October 2008
6 <br>
7 <a href="#index">Table Of Contents</a>
8
9 <h2>NAME</h2>
10 pamtohtmltbl - convert pnm/pam visual image to an HTML table
11
12 <h2 id="synopsis">SYNOPSIS</h2>
13
14 <b>pamtohtmltbl</b>
15 [<b>-transparent=</b><i>color</i>]
16 [<b>-verbose</b>]
17 [<i>file</i>]
18
19 <p>Minimum unique abbreviation of option is acceptable. You may use
20 double hyphens instead of single hyphen to denote options. You may use
21 white space in place of the equals sign to separate an option name
22 from its value.
23
24 <h2 id="description">DESCRIPTION</h2>
25
26 <p>This program is part of <a href="index.html">Netpbm</a>.
27
28 <p><b>pamtohtmltbl</b> converts a visual image to an HTML table with one
29 cell per pixel. The cell is empty, but its background color is that of the
30 pixel.
31
32 <p><i>file</i> is a PBM, PGM, PPM, or PAM file. If PAM, it must be
33 a standard visual image of tuple type RGB, GRAYSCALE, or BLACKANDWHITE, or
34 something equivalent with extra higher numbered channels, but
35 <b>pamtohtmltbl</b> doesn't check the tuple type; it just assumes.
36
37 <p>Note that the more normal way to include a visual image in an HTML
38 document is with a &lt;IMG&gt; tag.
39
40 <p>Not all web browsers render tables as <b>pamtohtmltbl</b> expects,
41 and therefore show a grossly distorted image. Internet Explorer 7 on
42 Windows and Opera 9.02 on Windows have been seen to work; Firefox
43 2.0.0.16 on the same Windows system has been seen not to.
44
45 <h2 id="options">OPTIONS</h2>
46
47 <p>In addition to the options common to all programs based on libnetpbm
48 (most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
49 Common Options</a>), <b>pamtohtmltbl</b> recognizes the following
50 command line options:
51
52 <dl compact>
53 <dt><b>-transparent=</b><i>color</i>
54
55 <dd>
56 This option indicates that pixels of the specified color are to be transparent
57 in the HTML table. The table cell for a pixel of this color will have no
58 background color specified.
59
60 <p>Specify the color (<i>color</i>) as described for the <a
61 href="libnetpbm_image.html#colorname">argument of the <b>pnm_parsecolor()</b>
62 library routine</a>.
63
64
65 <dt><b>-verbose</b>
66
67 <dd>This option causes <b>pamtohtmltbl</b> to display messages about the
68 conversion process.
69
70 <h2 id="seealso">SEE ALSO</h2>
71
72 <b><a href="pnm.html">pnm</a></b>
73 <b><a href="pam.html">pam</a></b>
74
75 <h2 id="history">HISTORY</h2>
76
77 <p><b>pamtohtmltbl</b> was new in Netpbm 10.15 (April 2003).
78 </dl>
79
80 <h2 id="authors">AUTHORS</h2>
81
82 <p>Alexander B. Ivanov (SSH) wrote a program he called
83 <b>pnm2html</b>. Bryan Henderson adapted it to use the Netpbm
84 libraries and handle PAM images and follow Netpbm conventions, and
85 named it <b>pamtohtmltbl</b>.
86
87 <hr>
88 <h2 id="index">Table Of Contents</h2>
89 <ul>
90 <li><a href="#synopsis">SYNOPSIS</a>
91 <li><a href="#description">DESCRIPTION</a>
92 <li><a href="#options">OPTIONS</a>
93 <li><a href="#seealso">SEE ALSO</a>
94 <li><a href="#history">HISTORY</a>
95 <li><a href="#authors">AUTHORS</a>
96 </ul>
97 </body>
98 </html>