logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pgmmake - create a PGM image of a specified gray level and dimensions

Description

       This program is part of Netpbm(1).

       pgmmake produces a PGM image of the specified gray level, width, height, and maxval.

       Specify  the  gray  level  (graylevel) as a decimal floating point number in the range [0, 1].  E.g. 1 is
       white, 0 is black, and 0.5 is half luminosity gray.

Document Source

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

              http://netpbm.sourceforge.net/doc/pgmmake.html

netpbm documentation                            19 February 2006                          PgmmakeUserManual(1)

Examples

           pgmmake 1 50 50

           pgmmake .2 50 100 -maxval=5

History

       This program was new in Netpbm 10.32 (February 2006).

       With older Netpbm, use ppmmake and ppmtopgm.

Name

       pgmmake - create a PGM image of a specified gray level and dimensions

Options

       In addition to the options common to all programs based on libnetpbm (most notably  -quiet,  see   Common
       Options ), pgmmake recognizes the following command line option:

       -maxval=maxval
                   The maxval for the generated image.  Default is 255.

See Also

pbmmake(1), ppmmake(1), pgm(1)

Synopsis

pgmmake [-maxval=maxval] graylevelwidthheight

       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.

See Also