pamdice

slices images into tiles

TLDR

Slice image into tiles
$ pamdice -width=[100] -height=[100] -outstem=[tile] [input.pam]
Slice with overlap
$ pamdice -width=[100] -height=[100] -hoverlap=[10] -voverlap=[10] [input.pam]

SYNOPSIS

pamdice [options] [file]

DESCRIPTION

pamdice slices images into tiles. Creates multiple output files.The tool divides images into grid. Part of Netpbm.

PARAMETERS

-width PIXELS

Tile width.
-height PIXELS
Tile height.
-outstem PREFIX
Output filename prefix.
-hoverlap PIXELS
Horizontal overlap.
-voverlap PIXELS
Vertical overlap.

INSTALL

sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm

CAVEATS

Part of Netpbm. Creates multiple files. Use pamundice to reassemble.

HISTORY

pamdice is part of Netpbm for slicing images into tiles.

SEE ALSO

pamundice(1), pnmcut(1), netpbm(1)