mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 05:41:49 +00:00
19 lines
677 B
Plaintext
19 lines
677 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pamdice
|
|
|
|
> Slice a Netpbm image vertically or horizontally.
|
|
> See also: `pamundice`.
|
|
> More information: <https://netpbm.sourceforge.net/doc/pamdice.html>.
|
|
|
|
- Slice a Netpbm image such that the resulting tiles have the specified height and width:
|
|
|
|
`pamdice -outstem {{path/to/filename_stem}} -height {{value}} -width {{value}} {{path/to/input.ppm}}`
|
|
|
|
- Make the produced pieces overlap by the specified amount horizontally and vertically:
|
|
|
|
`pamdice -outstem {{path/to/filename_stem}} -height {{value}} -width {{value}} -hoverlap {{value}} -voverlap {{value}} {{path/to/input.ppm}}`
|