1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 15:02:07 +02:00
tldr/pages/common/ppmtopcx.md

341 B

ppmtopcx

Convert a PPM image to a PCX file. More information: https://netpbm.sourceforge.net/doc/ppmtopcx.html.

  • Convert a PPM image to a PCX file:

ppmtopcx {{path/to/file.ppm}} > {{path/to/file.pcx}}

  • Produce a PCX file with the specified color depth:

ppmtopcx -{{8bit|24bit}} {{path/to/file.ppm}} > {{path/to/file.pcx}}