LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ppmwheel

Generate HSV color wheel image

TLDR

Generate color wheel
$ ppmwheel [diameter] > [output.ppm]
copy
Create 200px color wheel
$ ppmwheel 200 > [wheel.ppm]
copy

SYNOPSIS

ppmwheel diameter

DESCRIPTION

ppmwheel generates a PPM image of an HSV color wheel with the specified diameter in pixels. The output is a square image with the color wheel centered. Hue varies around the circumference, saturation varies from center to edge, and value is constant at maximum.Part of the Netpbm suite of image manipulation tools.

PARAMETERS

DIAMETER

Wheel diameter in pixels.

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

CAVEATS

Output is always a square PPM image. Pipe through other Netpbm tools or ImageMagick to convert to other formats.

HISTORY

ppmwheel was created as part of Netpbm for color wheel generation.

SEE ALSO

ppm(5), ppmrainbow(1)

Copied to clipboard
Kai