mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 20:42:39 +00:00
22 lines
578 B
Plaintext
22 lines
578 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ppmtoacad
|
|
|
|
> Convert a PPM image to an AutoCAD database or slide.
|
|
> More information: <https://netpbm.sourceforge.net/doc/ppmtoacad.html>.
|
|
|
|
- Convert a PPM image to an AutoCAD slide:
|
|
|
|
`ppmtoacad {{path/to/file.ppm}} > {{path/to/file.acad}}`
|
|
|
|
- Convert a PPM image to an AutoCAD binary database import file:
|
|
|
|
`ppmtoacad -dxb {{path/to/file.ppm}} > {{path/to/file.dxb}}`
|
|
|
|
- Restrict the colors in the output to 8 RGB shades:
|
|
|
|
`ppmtoacad -8 {{path/to/file.ppm}} > {{path/to/file.dxb}}`
|