PCXTOPPM(1)
π PCXTOPPM (1) π
okay bestie, welcome to the Pcxtoppm User Manual, section 1 of the General Commands Manual. she's giving Netpbm core, she's giving image conversion royalty, and she is so ready to turn your dusty PCX file into a gorgeous PPM. π¦β¨
β¨ NAME β¨
pcxtoppm β convert a PCX file into a PPM image π
literally her whole job. that's it. that's the girl. π
πΈ SYNOPSIS πΈ
pcxtoppm [-stdpalette] [-verbose] [pcxfile]
that's the whole vibe. two flags, one optional file, no drama. π
π DESCRIPTION π
so first thing, bestie: this program is part of Netpbm(1). iykyk. π«Ά
pcxtoppm reads a PCX file as input and produces a PPM image as output. simple as that. eats PCX, serves PPM. a queen who does one thing and does it flawlessly. β¨
now, pcxtoppm recognizes the following PCX types β and she recognizes ALL of them, no gatekeeping:
- Colormapped files with 2-16 colors.
this one comes in "packed pixel" format (1, 2 or 4 bits/pixel, 1 plane) or bitplane format (1 bit/pixel, 1-4 planes). and listen β if the image does not provide a palette, the program uses a predefined standard palette. and when we say "does not provide one," we mean the palette in the PCX header is completely black. like, fully black. all of it. π
- Colormapped files with 256 colors.
8 bits/pixel, 1 plane, colormap at the end of the file. the colormap is literally at the very end, so don't bail early. π
- 24bit truecolor files.
24bit RGB: 8 bits/pixel, 3 planes. the classic. the main character. π
- 32bit truecolor files.
24bit RGB + 8bit intensity: 8 bits/pixel, 4 planes. she's extra and we love her for it. π
π OPTIONS π
so besides the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), pcxtoppm recognizes the following command line options:
-stdpaletteβ this one causespcxtoppmto use its predefined standard palette even if the PCX image provides its own. okay but here's the tea: this is only meaningful for an image in the 16 color paletted PCX format. why would you even need this? because the image may appear to provide its own palette but in fact be created by a program too primitive to understand palettes, and that program just created a random palette by accident. no thoughts, head empty, palette chaos. π so yeah,-stdpaletteis your rescue.-verboseβ reports details of the PCX header. nosy in the best way. she will tell you everything. π΅οΈβοΈ
π SEE ALSO π
ppmtopcx(1), ppm(1) β go read those too bestie, they're part of the fam. π«Ά
π AUTHORS π
Copyright 1990 by Michael Davidson.
Modified 1994 by Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de) π
π DOCUMENT SOURCE π
this manual page was generated by the Netpbm tool makeman from HTML source. the master documentation is at
http://netpbm.sourceforge.net/doc/pcxtoppm.html
and that's the whole page, bestie!! every flag, every PCX type, every copyright line, all of it β no cap. π
okay final sign-off time: this glorious little doc is netpbm documentation, dated 19 April 2004, and it lives in the Pcxtoppm User Manual(1). iconic. legendary. obsessed. β¨ππ¦ππΈπ«Ά
π¦ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 Β· MIT
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms