summary refs log tree commit diff
path: root/pcxtoppm.html
blob: 4b629151af36601365fe0b01524dcaf264f25476 (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pcxtoppm User Manual</TITLE></HEAD>
<BODY>
<H1>pcxtoppm</H1>
Updated: 19 April 2004
<BR>
<A HREF="#index">Table Of Contents</A>

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

pcxtoppm - convert a PCX file into a PPM image

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

<B>pcxtoppm</B>
[<B>-stdpalette</B>]
[<B>-verbose</B>]
[<I>pcxfile</I>]

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

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

<p><b>pcxtoppm</b> reads a PCX file as input and produces a PPM image
as output.

<p><b>pcxtoppm</b> recognizes the following PCX types:

<UL COMPACT>
<LI>Colormapped files with 2-16 colors.

<P>&quot;Packed pixel&quot; format (1, 2 or 4 bits/pixel, 1 plane) or
bitplane format (1 bit/pixel, 1-4 planes).  The program uses a
predefined standard palette if the image does not provide one.
&quot;Does not provide one&quot; means the palette in the PCX header is
completely black.

<LI>Colormapped files with 256 colors.

<P>8 bits/pixel, 1 plane, colormap at the end of the file.

<LI>24bit truecolor files.

<P>24bit RGB: 8 bits/pixel, 3 planes.

<LI>32bit truecolor files.

<P>24bit RGB + 8bit intensity: 8 bits/pixel, 4 planes.

</UL>

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

<DL COMPACT>
<DT><B>-stdpalette</B>

<DD>This option causes <b>pcxtoppm</b> to use its predefined standard 
palette even if the PCX image provides its own.  This is meaningful only
for an image in the 16 color paletted PCX format.

<p>The image may appear to provide its own palette but in fact be created
by a program too primitive to understand palettes that created a random
palette by accident.

</DL>

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

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

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

<p>Copyright 1990 by Michael Davidson.

<p>Modified 1994 by Ingo Wilken (<A
HREF="mailto:Ingo.Wilken@informatik.uni-oldenburg.de">Ingo.Wilken@informatik.uni-oldenburg.de</A>)

<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">AUTHORS</A>
</UL>
</BODY>
</HTML>