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

pbmmake — Create a blank bitmap. More information: <https://netpbm.sourceforge.net/doc/pbmmake.html>.

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

Problem

How to use the pbmmake command: Create a blank bitmap. More information: <https://netpbm.sourceforge.net/doc/pbmmake.html>.

Solution

pbmmake — Create a blank bitmap. More information: <https://netpbm.sourceforge.net/doc/pbmmake.html>.

Create a blank bitmap of the specified dimensions:
pbmmake {{width}} {{height}} > {{path/to/output_file.pbm}}


Specify the color of the created bitmap:
pbmmake -{{white|black|grey}} {{width}} {{height}} > {{path/to/output_file.pbm}}

Code Snippets

Create a blank bitmap of the specified dimensions

pbmmake {{width}} {{height}} > {{path/to/output_file.pbm}}

Specify the color of the created bitmap

pbmmake -{{white|black|grey}} {{width}} {{height}} > {{path/to/output_file.pbm}}

Context

tldr-pages: common/pbmmake

Revisions (0)

No revisions yet.