---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pamstack

> Stack the planes of multiple PAM images into one PAM image.
> More information: <https://netpbm.sourceforge.net/doc/pamstack.html>.

- Stack the planes of the specified PAM images in the specified order:

`pamstack {{path/to/image1.pam path/to/image2.pam ...}} > {{path/to/output.pam}}`

- Specify the tuple type name of the output PAM file (maximum of 255 characters):

`pamstack -tupletype {{tuple_type}} {{path/to/image1.pam path/to/image2.pam ...}} > {{path/to/output.pam}}`
