LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

ppmpat(1), pgmnoise(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid