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

NAME

6       pamgradient - create a four-corner gradient PAM image
7
8

SYNOPSIS

10       pamgradient  [-maxval=maxval] color-tl color-tr color-bl color-br width
11       height
12
13       Minimum unique abbreviation of option is acceptable.  You may use  dou‐
14       ble  hyphens  instead  of single hyphen to denote options.  You may use
15       white space in place of the equals sign to separate an option name from
16       its value.
17
18
19

DESCRIPTION

21       This program is part of Netpbm(1).
22
23       pamgradient  creates  an  image  of  the  specified dimensions width by
24       height which contains a smooth, two-dimensional  gradient  between  the
25       specified colors of the four corners (from top left to bottom right).
26
27       Specify   the   colors   as   described   for   the   argument  of  the
28       pnm_parsecolor() library routine ⟨libnetpbm_image.html#colorname⟩ .
29
30       If all four colors are gray values,  pamgradient  creates  a  grayscale
31       image  (PAM tuple type GRAYSCALE).  Otherwise, it creates a color image
32       (PAM tuple type RGB).
33
34

OPTIONS

36       In addition to the options common to all programs  based  on  libnetpbm
37       (most notably -quiet, see
38        Common  Options  ⟨index.html#commonoptions⟩  ), pamgradient recognizes
39       the following command line option:
40
41
42
43       -maxval=maxval
44
45
46              maxval of the generated image.  (See PAM(1) and PNM(1)  specifi‐
47              cations).
48
49
50

SEE ALSO

52       pamgradient(1),   ppmmake(1),   ppmrainbow(1),  pgmramp(1),  ppmpat(1),
53       pam(1), pnm(1)
54
55

NOTE

57       Only the top left corner of the generated image has exactly the  speci‐
58       fied  color.  The color of the top right corner is a bit shifted to the
59       left, the bottom left corner a bit up, and the bottom right corner left
60       and  up.  This  ensures  nice transitions when combining adjacent (very
61       narrow) gradients, and doesn't play a  role  when  the  gradient  butts
62       against a solid surface.
63
64       This  effect is created by the integer arithmetic used for the interpo‐
65       lation of the color values, and since it doesn't make a difference  for
66       all practical purposes I might as well sell it as a feature.
67
68

HISTORY

70       pamgradient was new in Netpbm 10.31 (December 2005).
71
72

AUTHOR

74       pamgradient was written by Daniel Haude in October 2005.
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/pamgradient.html
81
82netpbm documentation            21 October 2005     Pamgradient User Manual(0)
Impressum