ppmtoacad
Convert a PPM image to an AutoCAD database or slide. tldr-pages
On several platforms
Several platforms
Convert a PPM image to an AutoCAD slide
ppmtoacad path/to/file.ppm >path/to/file.acadIdentifyConvert a PPM image to an AutoCAD binary database import file
ppmtoacad -dxb path/to/file.ppm >path/to/file.dxbIdentifyRestrict the colors in the output to 8 RGB shades
ppmtoacad -8 path/to/file.ppm >path/to/file.dxbIdentify