pgmmake
Create PGM image with a uniform gray level. tldr-pages
On several platforms
Several platforms
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.pgmIdentify