ppmtoppm(1)

ppmtoppm1

Copy ppm image

Usage

ppmtoppm

Overview

This program is part of Netpbm(1) .

ppmtoppm simply copies a PPM image from Standard Input to Standard Output. This may seem an unnecessary duplication of cat, but remember that a PPM program can read a PBM or PGM image, and the right kind of PAM, as if it were PPM. So ppmtoppm can read either a PBM, PGM, or PPM image and produce a PPM image as output.

Even that is of limited usefulness because of the fact that almost any program to which you would feed the resulting PPM image could also just take the original image directly. However, sometimes you really need a true PPM image.

When you know you have a PGM image and want a PPM image, pgmtoppm is a more general way to do that conversion. When you know you have a PBM image, use that and pbmtopgm.

Options

There are no command line options defined specifically for ppmtoppm, but it recognizes the options common to all programs based on libnetpbm (See
Common Options ⟨index.html#commonoptions⟩ .)

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/ppmtoppm.html

Releases

3 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12–13
  2. Arch

History

This program was added to Netpbm in Release 10.9 (September 2002).

From netpbm 10.86.51-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.