ppmmake
Create solid color PPM images
TLDR
Create solid color image
$ ppmmake [color] [width] [height] > [output.ppm]
Create red image$ ppmmake red 100 100 > [red.ppm]
Create using RGB values$ ppmmake "rgb:ff/00/00" 200 200 > [output.ppm]
SYNOPSIS
ppmmake [-maxval val] color width height
DESCRIPTION
ppmmake creates a PPM image of the specified dimensions filled with a single solid color. Colors can be specified by name (red, blue, white), hex notation (#rrggbb), or RGB triplet format (rgb:rr/gg/bb).This is useful for creating background images, test patterns, or blank canvases for compositing with other Netpbm tools. The companion tools pgmmake and pbmmake create grayscale and bitmap images respectively. Part of the Netpbm toolkit.
PARAMETERS
COLOR
Color specification: name (red, blue), hex (#rrggbb), or RGB triplet (rgb:rr/gg/bb).WIDTH
Image width in pixels.HEIGHT
Image height in pixels.-maxval val
Maximum color component value in the output image (default 255).
CAVEATS
Output is raw PPM format written to stdout; redirect to a file or pipe to another Netpbm tool. Part of the Netpbm suite.
HISTORY
ppmmake was created as part of Netpbm for solid image generation.
