summary refs log tree commit diff
path: root/ximtoppm.html
blob: 92d1c6dc72976023126e0a321f04fe72c554bba6 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Ximtoppm User Manual</title></head>
<body>
<h1>ximtoppm</h1>
Updated: 02 April 2000
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>

ximtoppm - convert an Xim file to a PPM image

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

<b>ximtoppm</b>

[<b>--alphaout=</b>{<i>alpha-filename</i>,<b>-</b>}]
[<i>ximfile</i>]

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

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

<p><b>ximptoppm</b> reads an Xim file as input and produces a PPM
image as output.  The Xim toolkit is included in the contrib tree of
the X.V11R4 release.

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

<p>In addition to the options common to all programs based on libnetpbm
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
Common Options</a>), <b>ximtoppm</b> recognizes the following
command line option:

<p>You can abbreviate any option to its shortest unique prefix.

<dl compact>
<dt><b>--alphaout=</b><i>alpha-filename</i>

<dd><b>ximtoppm</b> creates a PGM file containing the transparency channel
values in the input image.  If the input image doesn't contain a
transparency channel, the <i>alpha-filename</i> file contains all zero
(transparent) transparency values.  If you don't specify <b>--alphaout</b>,
<b>ximtoppm</b> does not generate a transparency file, and if the input
image has a transparency channel, <b>ximtoppm</b> simply discards it.

<p>If you specify <b>-</b> as the filename, <b>ximtoppm</b> writes the
transparency output to Standard Output and discards the image.

<p>Actually, an Xim image can contain an arbitrary fourth channel --
it need not be a transparency channel.  <b>ximtoppm</b> extracts any fourth
channel it finds as described above; it doesn't matter if it is a
transparency channel or not.

<p>See <b><a href="pamcomp.html">pamcomp</a></b> for one way to use
the transparency output file.

</dl>

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

<b><a href="pamcomp.html">pamcomp</a></b>,
<b><a href="ppm.html">ppm</a></b>

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

<p>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>