mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 09:42:58 +00:00
23 lines
895 B
Plaintext
23 lines
895 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pamundice
|
|
|
|
> Combine a grid of Netpbm images into one.
|
|
> See also: `pamdice`.
|
|
> More information: <https://netpbm.sourceforge.net/doc/pamundice.html>.
|
|
|
|
- Combine the images whose names match the `printf`-style filename expression. Assume a grid with a specific size:
|
|
|
|
`pamundice {{filename_%1d_%1a.ppm}} -across {{grid_width}} -down {{grid_height}} > {{path/to/output.ppm}}`
|
|
|
|
- Assume that the tiles overlap horizontally and vertically by the specified amount:
|
|
|
|
`pamundice {{filename_%1d_%1a.ppm}} -across {{x_value}} -down {{y_value}} -hoverlap {{value}} -voverlap {{value}} > {{path/to/output.ppm}}`
|
|
|
|
- Specify the images to be combined through a text file containing one filename per line:
|
|
|
|
`pamundice -listfile {{path/to/file.txt}} -across {{x_value}} -down {{y_value}} > {{path/to/output.ppm}}`
|