commands.sh

pamdice

all

Slice a Netpbm image vertically or horizontally. See also: `pamundice`.

More info →

Options (5)

-oboolean

Slice a Netpbm image such that the resulting tiles have the specified height and width

Example: pamdice {{[-o|-outstem]}} {{path/to/filename_stem}} {{[-he|-height]}} {{value}} {{[-w|-width]}} {{value}} {{path/to/input.ppm}}
boolean

Slice a Netpbm image such that the resulting tiles have the specified height and width

Example: pamdice {{[-o|-outstem]}} {{path/to/filename_stem}} {{[-he|-height]}} {{value}} {{[-w|-width]}} {{value}} {{path/to/input.ppm}}
-wboolean

Slice a Netpbm image such that the resulting tiles have the specified height and width

Example: pamdice {{[-o|-outstem]}} {{path/to/filename_stem}} {{[-he|-height]}} {{value}} {{[-w|-width]}} {{value}} {{path/to/input.ppm}}
boolean

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

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

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

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

Examples (2)

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
made by @shridhargupta | data from tldr-pages