LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pamdice

slices images into tiles

TLDR

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

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
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

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)

Copied to clipboard
Kai