about summary refs log tree commit diff
path: root/ximtoppm.html
blob: 369857993354b30d4a3351f889ad7534049e2b32 (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
80
81
82
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Ximtoppm User Manual</TITLE></HEAD>
<BODY>
<H1>ximtoppm</H1>
Updated: April 2, 2000
<BR>
<A HREF="#index">Table Of Contents</A>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

ximtoppm - convert an Xim file to a PPM image

<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>ximtoppm</B>

[<B>--alphaout=</B>{<I>alpha-filename</I>,<B>-</B>}]
[<I>ximfile</I>]

<A NAME="lbAD">&nbsp;</A>
<H2>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.

<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>

<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 alpha channel
values in the input image.  If the input image doesn't contain an
alpha channel, the <I>alpha-filename</I> file contains all zero
(transparent) alpha values.  If you don't specify <B>--alphaout</B>,
<B>ximtoppm</B> does not generate an alpha file, and if the input
image has an alpha channel, <B>ximtoppm</B> simply discards it.

<P>If you specify <B>-</B> as the filename, <B>ximtoppm</B> writes the
alpha output to Standard Output and discards the image.

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

<P>See <B><A HREF="pamcomp.html">pamcomp</A></B> for one way to use
the alpha output file.

</DL>

<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>

<B><A HREF="pamcomp.html">pamcomp</A></B>,
<B><A HREF="ppm.html">ppm</A></B>

<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>

<p>Copyright (C) 1991 by Jef Poskanzer.

<HR>
<A NAME="index">&nbsp;</A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#lbAE">OPTIONS</A>
<LI><A HREF="#lbAF">SEE ALSO</A>
<LI><A HREF="#lbAG">AUTHOR</A>
</UL>
</BODY>
</HTML>