HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandppmtopcxconvertpcxcliimagefileppm

Problem

How to use the ppmtopcx command: Convert a PPM image to a PCX file. More information: <https://netpbm.sourceforge.net/doc/ppmtopcx.html>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/ppmtopcx

Revisions (0)

No revisions yet.