ppmtorgb3(1)

ppmtorgb31

Separate a ppm image into three pgms

Usage

ppmtorgb3

[ppmfile]

Overview

This program is part of Netpbm(1) .

ppmtorgb3 reads a PPM image as input and writes three PGM images as output, one each for red, green, and blue.

ppmtorgb3 constructs the output filenames by taking the input filename, stripping off any extension, and appending .red, .grn, .blu. For example, separating lenna.ppm would result in lenna.red, lenna.grn, and lenna.blu. If the input comes from stdin, the names are noname.red, noname.grn, and noname.blu.

Options

There are no command line options defined specifically for ppmtorgb3, 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/ppmtorgb3.html

Releases

16 releases since Debian 2.0 (Hamm); the text changed 2 times.

  1. 2.0–11
  2. 12–13
  3. Arch

Author

Copyright (C) 1991 by Jef Poskanzer.

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