commands.sh

pnmindex

all

Build a visual index of multiple PNM images. See also: `pamundice`.

More info →

Options (3)

-sboolean

Specify the size of the (quadratic) thumbnails

Example: pnmindex {{[-s|-size]}} {{50}} {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pnm}}
-aboolean

Specify the number of thumbnails per row

Example: pnmindex {{[-a|-across]}} {{10}} {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pnm}}
-cboolean

Specify the maximum number of colors in the output

Example: pnmindex {{[-c|-colors]}} {{512}} {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pnm}}

Examples (4)

Produce an image containing thumbnails of the specified images in a grid

pnmindex path/to/input1.pnm path/to/input2.pnm ... > path/to/output.pnm

Specify the size of the (quadratic) thumbnails

pnmindex [-s|-size] 50 path/to/input1.pnm path/to/input2.pnm ... > path/to/output.pnm

Specify the number of thumbnails per row

pnmindex [-a|-across] 10 path/to/input1.pnm path/to/input2.pnm ... > path/to/output.pnm

Specify the maximum number of colors in the output

pnmindex [-c|-colors] 512 path/to/input1.pnm path/to/input2.pnm ... > path/to/output.pnm
made by @shridhargupta | data from tldr-pages