1Pamtohtmltbl User Manual(0) Pamtohtmltbl User Manual(0)
2
3
4
6 pamtohtmltbl - convert pnm/pam visual image to an HTML table
7
8
10 pamtohtmltbl [-transparent=color] [-verbose] [file]
11
12 Minimum unique abbreviation of option is acceptable. You may use dou‐
13 ble hyphens instead of single hyphen to denote options. You may use
14 white space in place of the equals sign to separate an option name from
15 its value.
16
17
19 This program is part of Netpbm(1).
20
21 pamtohtmltbl converts a visual image to an HTML table with one cell per
22 pixel. The cell is empty, but its background color is that of the
23 pixel.
24
25 file is a PBM, PGM, PPM, or PAM file. If PAM, it must be a standard
26 visual image of tuple type RGB, GRAYSCALE, or BLACKANDWHITE, or some‐
27 thing equivalent with extra higher numbered channels, but pamtohtmltbl
28 doesn't check the tuple type; it just assumes.
29
30 Note that the more normal way to include a visual image in an HTML doc‐
31 ument is with a <IMG> tag.
32
33 Not all web browsers render tables as pamtohtmltbl expects, and there‐
34 fore show a grossly distorted image. Internet Explorer 7 on Windows
35 and Opera 9.02 on Windows have been seen to work; Firefox 2.0.0.16 on
36 the same Windows system has been seen not to.
37
38
40 -transparent=color
41 This option indicates that pixels of the specified color are to
42 be transparent in the HTML table. The table cell for a pixel of
43 this color will have no background color specified.
44
45 Specify the color (color) as described for the argument of the
46 ppm_parsecolor() library routine ⟨libppm.html#colorname⟩ .
47
48
49
50 -verbose
51 This option causes pamtohtmltbl to display messages about the
52 conversion process.
53
54
56 pnm(1) pam(1)
57
58
60 pamtohtmltbl was new in Netpbm 10.15 (April 2003).
61
62
63
65 Alexander B. Ivanov (SSH) wrote a program he called pnm2html. Bryan
66 Henderson adapted it to use the Netpbm libraries and handle PAM images
67 and follow Netpbm conventions, and named it pamtohtmltbl.
68
69
70
71netpbm documentation 13 October 2008 Pamtohtmltbl User Manual(0)