Files
cheatsheet-tldr/tldr/pampick
2025-10-10 00:19:31 +00:00

15 lines
415 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pampick
> Pick images out of a multi-image Netpbm stream.
> See also: `pamfile`, `pamsplit`.
> More information: <https://netpbm.sourceforge.net/doc/pampick.html>.
- Execute a shell command on each image in a Netpbm file:
`pampick < {{path/to/image.pam}} {{image_number1 image_number2 ...}} > {{path/to/output.pam}}`