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       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

DESCRIPTION

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

OPTIONS

40       In  addition  to  the options common to all programs based on libnetpbm
41       (most notably -quiet, see
42        Common Options ⟨index.html#commonoptions⟩ ),  pamtohtmltbl  recognizes
43       the following command line options:
44
45
46
47       -transparent=color
48              This  option indicates that pixels of the specified color are to
49              be transparent in the HTML table.  The table cell for a pixel of
50              this color will have no background color specified.
51
52              Specify  the  color (color) as described for the argument of the
53              pnm_parsecolor()                 library                 routine
54              ⟨libnetpbm_image.html#colorname⟩ .
55
56
57
58       -verbose
59              This  option  causes  pamtohtmltbl to display messages about the
60              conversion process.
61
62

SEE ALSO

64       pnm(1) pam(1)
65
66

HISTORY

68       pamtohtmltbl was new in Netpbm 10.15 (April 2003).
69
70
71

AUTHORS

73       Alexander B. Ivanov (SSH) wrote a program he  called  pnm2html.   Bryan
74       Henderson  adapted it to use the Netpbm libraries and handle PAM images
75       and follow Netpbm conventions, and named it pamtohtmltbl.
76

DOCUMENT SOURCE

78       This manual page was generated by the Netpbm tool 'makeman'  from  HTML
79       source.  The master documentation is at
80
81              http://netpbm.sourceforge.net/doc/pamtohtmltbl.html
82
83netpbm documentation            13 October 2008    Pamtohtmltbl User Manual(0)
Impressum