commands.sh

pnmquantall

all

Run `pnmquant` on multiple files at once such that they share a common colormap. See also: `pnmquant`.

More info →

Options (1)

-eboolean

Save the quantised images to files named the same as the input files, but with the specified extension appended

Example: pnmquantall {{[-e|-ext]}} {{extension}} {{n_colors}} {{path/to/input1.pnm path/to/input2.pnm ...}}

Examples (2)

Run `pnmquant` on multiple files with the specified parameters, overwriting the original files

pnmquantall n_colors path/to/input1.pnm path/to/input2.pnm ...

Save the quantised images to files named the same as the input files, but with the specified extension appended

pnmquantall [-e|-ext] extension n_colors path/to/input1.pnm path/to/input2.pnm ...
made by @shridhargupta | data from tldr-pages