2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`pamdice {{[-o|-outstem]}} {{path/to/filename_stem}} {{[-he|-height]}} {{value}} {{[-w|-width]}} {{value}} {{path/to/input.ppm}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Make the produced pieces overlap by the specified amount horizontally and vertically:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`pamdice {{[-o|-outstem]}} {{path/to/filename_stem}} {{[-he|-height]}} {{value}} {{[-w|-width]}} {{value}} {{[-ho|-hoverlap]}} {{value}} {{[-vo|-voverlap]}} {{value}} {{path/to/input.ppm}}`
|