man > pamtopam(1)

TLDR: pamtopam (tldr-pages)

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}}
Pamtopam User Manual(1)                General Commands Manual               Pamtopam User Manual(1)

NAME
       pamtopam - copy PAM image


SYNOPSIS
       pamtopam


DESCRIPTION
       This program is part of Netpbm(1).

       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 ]8;;index.html#commonoptions\ Common Options]8;;\ .)


SEE ALSO
       pamtopnm(1), ppmtoppm(1), pgmtopgm(1), pam(1), pnm(1), ppm(1), pgm(1), pbm(1)


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)

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-10 15:44 @216.73.216.11
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!