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

NAME

6       pgmramp - generate a grayscale ramp
7
8

SYNOPSIS

10       pgmramp -lr|-tb|-rectangle|-ellipse -maxval=maxval width height
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       Generates a graymap of the specified size containing  a  black-to-white
22       ramp.   These ramps are useful for multiplying with other images, using
23       pamarith.
24
25       The ramp is linear in brightness, not intensity.  I.e.  the  gamma-cor‐
26       rected  sample  values  in the PGM rise linearly with distance from the
27       corner of the image.  If you want a ramp that is linear in light inten‐
28       sity, use pnmgamma with pgmramp.
29
30       To  generate  a simple ramp of all the values from 0 to maxval, and not
31       necessarily a graphic image, use pamseq(1).
32
33       ppmrainbow does something similar to what pgmramp does, but for  color.
34       The image fades between two colors of your choice.
35
36
37

OPTIONS

39       You must specify exactly one of the ramp type options.
40
41
42       -lr    A left to right ramp.
43
44
45       -tb    A top to bottom ramp.
46
47
48       -rectangle
49              An  outside-in  rectangular  ramp.  It is black around the edges
50              and white in the center.
51
52
53       -ellipse
54              An outside-in elliptical ramp.  It is black around the edge  and
55              white in the center.
56
57
58       -maxval=maxval
59                   The maxval for the generated image.  Default is 255.
60
61                   This  option  did  not exist before June 2002.  Before, the
62              maxval was
63                   always 255.
64
65
66
67
68

SEE ALSO

70       pamarith(1),  pnmgamma(1),  pamseq(1),  ppmrainbow(1),  pamgradient(1),
71       pgm(1)
72
73
74

AUTHOR

76       Copyright (C) 1989 by Jef Poskanzer.
77
78
79
80netpbm documentation             04 June 2002           Pgmramp User Manual(0)
Impressum