PCXTOPPM(1)

πŸ“¦
version 11.13.03 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 causes pcxtoppm to 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, -stdpalette is 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