2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`ppmtoacad {{[-d|-dxb]}} {{path/to/file.ppm}} > {{path/to/file.dxb}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Restrict the colors in the output to 8 RGB shades:
|
|
|
|
|
|
|
|
|
|
`ppmtoacad -8 {{path/to/file.ppm}} > {{path/to/file.dxb}}`
|