summary refs log tree commit diff
path: root/ppmtorgb3.html
blob: 914ffd43cf723eb34b00302e080a99e6c050d022 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Ppmtorgb3 User Manual</title></head>
<body>
<h1>ppmtorgb3</h1>
Updated: 10 January 1991
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>

ppmtorgb3 - separate a PPM image into three PGMs

<h2 id="synopsis">SYNOPSIS</h2>

<b>ppmtorgb3</b>

[<i>ppmfile</i>]

<h2 id="description">DESCRIPTION</h2>

<p>This program is part of <a href="index.html">Netpbm</a>.

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

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

<h2 id="options">OPTIONS</h2>

<p>There are no command line options defined specifically
for <b>ppmtorgb3</b>, but it recognizes the options common to all
programs based on libnetpbm (See <a href="index.html#commonoptions">
Common Options</a>.)

<h2 id="seealso">SEE ALSO</h2>

<a href="rgb3toppm.html">rgb3toppm</a>, 
<a href="pamchannel.html">pamchannel</a>, 
<a href="ppmtopgm.html">ppmtopgm</a>, 
<a href="pgmtoppm.html">pgmtoppm</a>, 
<a href="ppm.html">ppm</a>, 
<a href="pgm.html">pgm</a>

<h2 id="author">AUTHOR</h2>

Copyright (C) 1991 by Jef Poskanzer.

<hr>
<h2 id="index">Table Of Contents</h2>
<ul>
<li><a href="#synopsis">SYNOPSIS</a>
<li><a href="#description">DESCRIPTION</a>
<li><a href="#options">OPTIONS</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#author">AUTHOR</a>
</ul>
</body>
</html>