# pamtopam - copy PAM image - man(1) - [phpMan]

> **TLDR:** Copy a PAM image.
>
- Copy a PAM image (i.e. a PBM, PGM, PPM, or PAM image) from `stdin` to `stdout`:
  `pamtopam < {{path/to/image.pam}} > {{path/to/output.pam}}`
- Display version:
  `pamtopam {{-v|-version}}`

*Source: tldr-pages*

---

_Pamtopam_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)                General Commands Manual               _Pamtopam_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)

## NAME
       pamtopam - copy PAM image


## SYNOPSIS
### pamtopam


## DESCRIPTION
       This program is part of [**Netpbm**(1)](https://www.chedong.com/phpMan.php/man/Netpbm/1/markdown).

       **pamtopam  **simply copies a PAM image from Standard Input to Standard Output.  This may seem an
       unnecessary duplication of **cat**, but remember that a PAM program can read a PBM, PGM,  or  PPM
       image  as if it were PAM.  So **pamtopam **can read either a PBM, PGM, PPM, or PAM image and pro‐
       duce a PAM image as output.

       Even that is of limited usefulness because of the fact that almost any program to  which  you
       would  feed  the  resulting PAM image could also just take the original image directly.  How‐
       ever, sometimes you really want a true PAM image.

       You can do a more general job of translating PAM/PNM to PAM with **pamchannel**.


## OPTIONS
       There are no command line options defined specifically for **pamtopam**, but  it  recognizes  the
       options common to all programs based on libnetpbm (See [ Common Options](index.html#commonoptions) .)


## SEE ALSO
       [**pamtopnm**(1)](https://www.chedong.com/phpMan.php/man/pamtopnm/1/markdown), [**ppmtoppm**(1)](https://www.chedong.com/phpMan.php/man/ppmtoppm/1/markdown), [**pgmtopgm**(1)](https://www.chedong.com/phpMan.php/man/pgmtopgm/1/markdown), [**pam**(1)](https://www.chedong.com/phpMan.php/man/pam/1/markdown), [**pnm**(1)](https://www.chedong.com/phpMan.php/man/pnm/1/markdown), [**ppm**(1)](https://www.chedong.com/phpMan.php/man/ppm/1/markdown), [**pgm**(1)](https://www.chedong.com/phpMan.php/man/pgm/1/markdown), [**pbm**(1)](https://www.chedong.com/phpMan.php/man/pbm/1/markdown)


## HISTORY
       This program was added to Netpbm in Release 10.41 (December 2007).

## DOCUMENT SOURCE
       This  manual  page  was  generated by the Netpbm tool 'makeman' from HTML source.  The master
       documentation is at

              **<http://netpbm.sourceforge.net/doc/pamtopam.html>**

netpbm documentation                        October 2007                     _Pamtopam_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)
