mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-06 00:07:20 +03:00
ac7152950e
* pnmhisteq, pnmhistmap, pnmindex, pnminvert: add pages * Update pages/common/pnmindex.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
22 lines
760 B
Markdown
22 lines
760 B
Markdown
# pnmindex
|
|
|
|
> Build a visual index of multiple PNM images.
|
|
> See also: `pamundice`.
|
|
> More information: <https://netpbm.sourceforge.net/doc/pnmindex.html>.
|
|
|
|
- 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 -size {{50}} {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pnm}}`
|
|
|
|
- Specify the number of thumbnails per row:
|
|
|
|
`pnmindex -across {{10}} {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pnm}}`
|
|
|
|
- Specify the maximum number of colors in the output:
|
|
|
|
`pnmindex -colors {{512}} {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pnm}}`
|