1Xpmtoppm User Manual(0) Xpmtoppm User Manual(0)
2
3
4
6 xpmtoppm - convert an X11 pixmap to a PPM image
7
8
10 xpmtoppm
11
12 [--alphaout={alpha-filename,-}] [-verbose]
13
14 [xpmfile]
15
16
18 This program is part of Netpbm(1).
19
20 xpbtoppm reads an X11 pixmap (XPM version 1 or 3) as input and produces
21 a PPM image as output.
22
23
25 --alphaout=alpha-filename
26 xpmtoppm creates a PBM file containing the transparency mask for
27 the image. If the input image doesn't contain transparency
28 information, the alpha-filename file contains all white (opaque)
29 alpha values. If you don't specify --alphaout, xpmtoppm does
30 not generate an alpha file, and if the input image has trans‐
31 parency information, xpmtoppm simply discards it.
32
33 If you specify - as the filename, xpmtoppm writes the alpha out‐
34 put to Standard Output and discards the image.
35
36 See pamcomp(1)foronewaytouse the alpha output file.
37
38 xpmtoppm can't handle a line longer than 8K characters in the
39 the XPM input. If an input line exceeds this limit, xpmtoppm
40 quits with an error message to that effect. Before Netpbm 10.30
41 (October 2005), the limit was 2K.
42
43
44 --verbose
45 xpmtoppm prints information about its processing on Standard
46 Error.
47
48
49
50
52 The recogized XPM version 3 features are limited. Comments can only be
53 single lines and there must be for every pixel a default colorname for
54 a color type visual.
55
56
58 ppmtoxpm(1), pamcomp(1), ppm(1)
59
60
62 Copyright (C) 1991 by Jef Poskanzer.
63
64 Upgraded to work with XPM version 3 by
65 Arnaud Le Hors <lehors@mirsa.inria.fr>, Tue Apr 9 1991.
66
67
68
69netpbm documentation 05 October 2005 Xpmtoppm User Manual(0)