LinuxCommandLibrary

pamdice

Slice a Netpbm image vertically or horizontally.

TLDR

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]
copy


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]
copy

Copied to clipboard