blob: bbcb6d7355bd6e22f55c8fe9d203f898aa06788c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD><TITLE>Pamtohtmltbl User Manual</TITLE></HEAD>
<BODY>
<H1>pamtohtmltbl</H1>
Updated: 29 March 2003
<BR>
<A HREF="#index">Table Of Contents</A>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
pamtohtmltbl - convert pnm/pam visual image to an HTML table
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<B>pamtohtmltbl</B>
[<b>-transparent=</b><i>color</i>]
[<b>-verbose</b>]
[<I>file</I>]
<P>Minimum unique abbreviation of option is acceptable. You may use
double hyphens instead of single hyphen to denote options. You may use
white space in place of the equals sign to separate an option name
from its value.
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
<p>This program is part of <a href="index.html">Netpbm</a>.
<P><b>pamtohtmltbl</b> converts a visual image to an HTML table with one
cell per pixel. The cell is empty, but its background color is that of the
pixel.
<P><i>file</i> is a PBM, PGM, PPM, or PAM file. If PAM, it must be
a standard visual image of tuple type RGB, GRAYSCALE, or BLACKANDWHITE, or
something equivalent with extra higher numbered channels, but
<b>pamtohtmltbl</b> doesn't check the tuple type; it just assumes.
<P>Note that the more normal way to include a visual image in an HTML
document is with a <IMG> tag.
<A NAME="options"> </A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT><B>-transparent=</B><i>color</i>
<DD>
This option indicates that pixels of the specified color are to be transparent
in the HTML table. The table cell for a pixel of this color will have no
background color specified.
<P>Specify the color (<i>color</i>) as described for the <a
href="libppm.html#colorname">argument of the <b>ppm_parsecolor()</b>
library routine</a>.
<DT><B>-verbose</b>
<dd>This option causes <b>pamtohtmltbl</b> to display messages about the
conversion process.
<A NAME="lbAE"> </A>
<H2>SEE ALSO</H2>
<B><A HREF="pnm.html">pnm</A></B>
<B><A HREF="pam.html">pam</A></B>
<A NAME="history"> </A>
<H2>HISTORY</H2>
<P><b>pamtohtmltbl</b> was new in Netpbm 10.15 (April 2003).
</DL>
<A NAME="lbAF"> </A>
<H2>AUTHORS</H2>
<p>Alexander B. Ivanov (SSH) wrote a program he called
<b>pnm2html</b>. Bryan Henderson adapted it to use the Netpbm
libraries and handle PAM images and follow Netpbm conventions, and
named it <b>pamtohtmltbl</b>.
<HR>
<A NAME="index"> </A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#options">OPTIONS</A>
<LI><A HREF="#lbAE">SEE ALSO</A>
<LI><A HREF="#lbAF">AUTHORS</A>
</UL>
</BODY>
</HTML>
|