1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:22:06 +02:00
tldr/pages/common/pamdice.md
Antti Savolainen e7e3c0b668 batch4
2025-03-28 18:48:45 +02:00

660 B

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 {{[-o|-outstem]}} {{path/to/filename_stem}} {{[-he|-height]}} {{value}} {{[-w|-width]}} {{value}} {{path/to/input.ppm}}

  • Make the produced pieces overlap by the specified amount horizontally and vertically:

pamdice {{[-o|-outstem]}} {{path/to/filename_stem}} {{[-he|-height]}} {{value}} {{[-w|-width]}} {{value}} {{[-ho|-hoverlap]}} {{value}} {{[-vo|-voverlap]}} {{value}} {{path/to/input.ppm}}