HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ppmtoacad — Convert a PPM image to an AutoCAD database or slide. More information: <https://netpbm.sourceforge.n

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandppmtoacadconvertdatabasecliimageautocadppm

Problem

How to use the ppmtoacad command: Convert a PPM image to an AutoCAD database or slide. More information: <https://netpbm.sourceforge.net/doc/ppmtoacad.html>.

Solution

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 {{[-d|-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}}

Code Snippets

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 {{[-d|-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}}

Context

tldr-pages: common/ppmtoacad

Revisions (0)

No revisions yet.