Ppmtoacad User Manual(1) | General Commands Manual | Ppmtoacad User Manual(1) |
ppmtoacad - convert PPM to Autocad database or slide
ppmtoacad
[-dxb]
[-poly]
[-background color]
[-white]
[-aspect ratio]
[-8]
[ppmfile]
This program is part of Netpbm(1).
ppmtoacad reads a PPM image as input and produces an Autocad® slide file or binary database import (.dxb) file as output. If you don't specify ppmfile, ppmtoacad takes the input from Standard Input.
(Typographical note: the name of Autocad is often rendered as AutoCAD. Netpbm documentation uses standard American typography, wherein that is not a valid form of capitalization).
In addition to the options common to all programs based on
libnetpbm (most notably -quiet, see
Common Options ), ppmtoacad recognizes the following command line
options:
You may abbreviate any option to its shortest unique prefix.
Autocad has a fixed palette of 256 colors, distributed along the hue, lightness, and saturation axes. So it may poorly render images which contain many nearly-identical colors, or colors not closely approximated by Autocad's palette.
ppmtoacad works best if the system displaying its output can display the full 256 color Autocad palette. Monochrome, 8 color, and 16 color configurations will produce less than optimal results.
When creating a .dxb file or a slide file with the -poly option, ppmtoacad finds both vertical and horizontal runs of identical pixels and consolidates them into rectangular regions to reduce the size of the output file. This is effective for images with large areas of constant color but it's no substitute for true raster to vector conversion. In particular, this process does not optimize thin diagonal lines at all.
Output files can be huge.
Autocad Reference Manual: Slide File Format and Binary Drawing Interchange (DXB) Files, ppm(1)
John Walker Autodesk SA Avenue des Champs-Montants 14b CH-2074 MARIN Suisse/Schweiz/Svizzera/Svizra/Switzerland
Usenet:kelvin@Autodesk.com
Fax:038/33 88 15
Voice:038/33 76 33
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, without any conditions or restrictions. This software is provided "as is" without express or implied warranty.
Autocad and Autodesk are registered trademarks of Autodesk, Inc.
This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at
10 October 1991 | netpbm documentation |