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

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

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

Problem

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

Solution

pcxtoppm — Convert a PCX file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/pcxtoppm.html>.

Convert a PCX file to a PPM image:
pcxtoppm {{path/to/file.pcx}} > {{path/to/file.ppm}}


Use a predefined standard palette even if the PCX file provides one:
pcxtoppm {{[-s|-stdpalette]}} {{path/to/file.pcx}} > {{path/to/file.ppm}}


Print information on the PCX header to stdout:
pcxtoppm {{[-verb|-verbose]}} {{path/to/file.pcx}} > {{path/to/file.ppm}}

Code Snippets

Convert a PCX file to a PPM image

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

Use a predefined standard palette even if the PCX file provides one

pcxtoppm {{[-s|-stdpalette]}} {{path/to/file.pcx}} > {{path/to/file.ppm}}

Print information on the PCX header to `stdout`

pcxtoppm {{[-verb|-verbose]}} {{path/to/file.pcx}} > {{path/to/file.ppm}}

Context

tldr-pages: common/pcxtoppm

Revisions (0)

No revisions yet.