1Ximtoppm User Manual(0) Ximtoppm User Manual(0)
2
3
4
6 ximtoppm - convert an Xim file to a PPM image
7
8
10 ximtoppm
11
12 [--alphaout={alpha-filename,-}] [ximfile]
13
14
16 This program is part of Netpbm(1).
17
18 ximptoppm reads an Xim file as input and produces a PPM image as out‐
19 put. The Xim toolkit is included in the contrib tree of the X.V11R4
20 release.
21
22
24 You can abbreviate any option to its shortest unique prefix.
25
26
27
28 --alphaout=alpha-filename
29 ximtoppm creates a PGM file containing the alpha channel values
30 in the input image. If the input image doesn't contain an alpha
31 channel, the alpha-filename file contains all zero (transparent)
32 alpha values. If you don't specify --alphaout, ximtoppm does
33 not generate an alpha file, and if the input image has an alpha
34 channel, ximtoppm simply discards it.
35
36 If you specify - as the filename, ximtoppm writes the alpha out‐
37 put to Standard Output and discards the image.
38
39 Actually, an Xim image can contain an arbitrary fourth channel
40 -- it need not be an Alpha channel. ximtoppm extracts any
41 fourth channel it finds as described above; it doesn't matter if
42 it is an alpha channel or not.
43
44 See pamcomp(1)foronewaytouse the alpha output file.
45
46
47
48
50 pamcomp(1), ppm(1)
51
52
54 Copyright (C) 1991 by Jef Poskanzer.
55
56
57
58netpbm documentation April 2, 2000 Ximtoppm User Manual(0)