mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 18:58:45 +00:00
Update cheatsheets
This commit is contained in:
17
ppmtopcx
Normal file
17
ppmtopcx
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user