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

NAME

6       pamseq - generate PAM image of all possible tuple values, in sequence
7
8

SYNOPSIS

10       pamseq [-tupletype=tupletype] depth maxval
11
12       All  options  can  be abbreviated to their shortest unique prefix.  You
13       may use two hyphens instead of one to designate an option.  You may use
14       either  white  space  or  an equals sign between an option name and its
15       value.
16
17

DESCRIPTION

19       This program is part of Netpbm(1).
20
21       pamseq generates a PAM image of a specified depth and specified  maxval
22       that  consists of a single row.  The row consists of one tuple of every
23       possible value, in order.
24
25       For a depth of one, the order is simple: From 0 to maxval,  going  from
26       left to right.  For higher depths, the highest numbered plane goes from
27       0 to maxval (going left to right) while all the other planes have value
28       0.  Then the sequence repeats except with the next highest plane set to
29       a value of 1, then 2, etc.
30
31

OPTIONS

33       In addition to the options common to all programs  based  on  libnetpbm
34       (most notably -quiet, see
35        Common  Options  ⟨index.html#commonoptions⟩  ),  pamseq recognizes the
36       following command line option:
37
38
39
40       -tupletype
41              This is the value of the "tuple_type" attribute of  the  created
42              PAM image.  It can be any string up to 255 characters.
43
44
45

USAGE

47       To  create  a  simple  ramp  of the values 0..255, for input to various
48       matrix calculations, try
49         pamseq 1 255
50       (Before pamseq existed, pgmramp was  often  pressed  into  service  for
51       this).
52
53       To create a PPM color map of all the possible colors representable with
54       a maxval of 5, do
55         pamseq 3 5 -tupletype=RGB | pamtopnm
56
57       Again, with a modern program based on the  Netpbm  library,  you  don't
58       need the pamtopnm because a PAM RGB image is equivalent to a PPM image.
59
60       You can use such a color map with pnmremap(1) to quantize the colors in
61       an image.  With the maxval of 5 given in the example, you get  a  color
62       map  of  the set of "web safe" colors as defined by Netscape.  Most web
63       browsers guarantee that they can produce at least these 216 colors (215
64       plus black).
65
66

SEE ALSO

68       pnmremap(1), pamtopnm(1), pam(1)
69
70

HISTORY

72       pamseq was added to Netpbm in June 2002.
73

DOCUMENT SOURCE

75       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
76       source.  The master documentation is at
77
78              http://netpbm.sourceforge.net/doc/pamseq.html
79
80netpbm documentation              08 May 2002            Pamseq User Manual(0)
Impressum