HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pgmmake — Create PGM image with a uniform gray level. More information: <https://netpbm.sourceforge.net/doc/pg

Submitted by: @import:tldr-pages··
0
Viewed 0 times
createcommandpgmmakecliimagewithuniformpgm

Problem

How to use the pgmmake command: Create PGM image with a uniform gray level. More information: <https://netpbm.sourceforge.net/doc/pgmmake.html>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/pgmmake

Revisions (0)

No revisions yet.