1Pamtohtmltbl User Manual(0)                        Pamtohtmltbl User Manual(0)
2
3
4

NAME

6       pamtohtmltbl - convert pnm/pam visual image to an HTML table
7
8

SYNOPSIS

10       pamtohtmltbl [-transparent=color] [-verbose] [file]
11
12

DESCRIPTION

14       This program is part of Netpbm(1).
15
16       pamtohtmltbl converts a visual image to an HTML table with one cell per
17       pixel.  The cell is empty, but its background  color  is  that  of  the
18       pixel.
19
20       file  is  a  PBM, PGM, PPM, or PAM file.  If PAM, it must be a standard
21       visual image of tuple type RGB, GRAYSCALE, or BLACKANDWHITE,  or  some‐
22       thing  equivalent with extra higher numbered channels, but pamtohtmltbl
23       doesn't check the tuple type; it just assumes.
24
25       Note that the more normal way to include a visual image in an HTML doc‐
26       ument is with a <IMG> tag.
27
28

OPTIONS

30       Minimum  unique abbreviation of option is acceptable.  You may use dou‐
31       ble hyphens instead of single hyphen to denote options.   You  may  use
32       white space in place of the equals sign to separate an option name from
33       its value.
34
35
36
37       -transparent=color
38              This option indicates that pixels of the specified color are  to
39              be transparent in the HTML table.  The table cell for a pixel of
40              this color will have no background color specified.
41
42              Specify the color (color) as described for the argument  of  the
43              ppm_parsecolor() library routine ⟨libppm.html#colorname⟩ .
44
45
46
47       -verbose
48              This  option  causes  pamtohtmltbl to display messages about the
49              conversion process.
50
51

SEE ALSO

53       pnm(1) pam(1)
54
55

HISTORY

57       pamtohtmltbl was new in Netpbm 10.15 (April 2003).
58
59
60

AUTHORS

62       Alexander B. Ivanov (SSH) wrote a program he  called  pnm2html.   Bryan
63       Henderson  adapted it to use the Netpbm libraries and handle PAM images
64       and follow Netpbm conventions, and named it pamtohtmltbl.
65
66
67
68netpbm documentation             29 March 2003     Pamtohtmltbl User Manual(0)
Impressum