LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pnmquantall

Quantize multiple images to shared palette

TLDR

Quantize multiple images to same palette
$ pnmquantall [256] [image1.pnm] [image2.pnm] ...
copy

SYNOPSIS

pnmquantall ncolors files...

DESCRIPTION

pnmquantall reduces multiple PNM images to use a common color palette. Useful for creating consistent color animations. Part of Netpbm toolkit.

PARAMETERS

ncolors

Maximum number of colors.
files
Input image files (modified in place).

INSTALL

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

CAVEATS

Modifies files in place.

SEE ALSO

Copied to clipboard
Kai