LinuxCommandLibrary

pgmramp

generates grayscale gradient images

TLDR

Create horizontal gradient

$ pgmramp -lr [256] [256] > [gradient.pgm]
copy
Create vertical gradient
$ pgmramp -tb [256] [256] > [gradient.pgm]
copy
Create diagonal gradient
$ pgmramp -diagonal [256] [256] > [gradient.pgm]
copy
Create circular gradient
$ pgmramp -ellipse [256] [256] > [gradient.pgm]
copy

SYNOPSIS

pgmramp type width height

DESCRIPTION

pgmramp generates grayscale gradient images. Creates various gradient patterns for testing and backgrounds. Part of Netpbm toolkit.

PARAMETERS

-lr

Left to right gradient.
-tb
Top to bottom gradient.
-rectangle
Rectangle gradient.
-ellipse
Elliptical gradient.
-diagonal
Diagonal gradient.

SEE ALSO

ppmpat(1), pgmnoise(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community