mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 20:56:57 +00:00
Update cheatsheets
This commit is contained in:
21
pcxtoppm
Normal file
21
pcxtoppm
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 -stdpalette {{path/to/file.pcx}} > {{path/to/file.ppm}}`
|
||||
|
||||
- Print information on the PCX header to `stdout`:
|
||||
|
||||
`pcxtoppm -verbose {{path/to/file.pcx}} > {{path/to/file.ppm}}`
|
||||
Reference in New Issue
Block a user