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

SEE ALSO

70       pnmremap(1), pamtopnm(1), pam(1)
71
72

HISTORY

74       pamseq was added to Netpbm in June 2002.
75

DOCUMENT SOURCE

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