HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pamdice — Slice a Netpbm image vertically or horizontally. See also: `pamundice`. More information: <https://n

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandverticallysliceclinetpbmimagehorizontallypamdice

Problem

How to use the pamdice command: Slice a Netpbm image vertically or horizontally. See also: pamundice. More information: <https://netpbm.sourceforge.net/doc/pamdice.html>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/pamdice

Revisions (0)

No revisions yet.