ppmmake man page

ppmmake — create a PPM image of a specified color and dimensions


ppmmake [-maxval=maxval] color width height

All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one to designate an option. You may use either white space or an equals sign between an option name and its value.


ppmmake produces a PPM image of the specified color, width, height, and maxval.

Specify the color (color) as described for the argument of the ppm_parsecolor() library routine .


ppmmake red 50 50
ppmmake rgb:ff/80/80 50 100 -maxval=5


The maxval for the generated image. Default is 255.

This option did not exist before June 2002. Before, the maxval was
always 255.

See Also

pbmmake(1) , pgmmake(1) , ppmpat(1) , ppm(1)


Copyright (C) 1991 by Jef Poskanzer.

Document Source

This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at


Referenced By

fig2dev(1), pamgradient(1), pamlookup(1), pampaintspill(1), pamtouil(1), pbmmake(1), pgmmake(1), pnmcolormap(1), ppmlabel(1), ppmpat(1), ppmrainbow(1), ppmrough(1), webcollage(6).

Explore man page connections for ppmmake(1).

netpbm documentation 02 September 2002