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

17 lines
493 B
Markdown
Raw Normal View History

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