LinuxCommandLibrary

pamsplit

Split a multi-image Netpbm file into multiple single-image Netpbm files.

TLDR

Split a multi-image Netpbm file into multiple single-image Netpbm files

$ pamsplit [path/to/image.pam]
copy


Specify a pattern for naming output files
$ pamsplit [path/to/image.pam] [file_%d.pam]
copy

Copied to clipboard