pgmmake
Create PGM image with a uniform gray level. More information: https://netpbm.sourceforge.net/doc/pgmmake.html.
- Create PGM image with a uniform gray level (specified as a number between 0 and 1) and the specified dimensions:
pgmmake {{graylevel}} {{width}} {{height}} > {{path/to/output_file.pgm}}