ppmtoacad (1)
convert portable pixmap to AutoCAD database or slide
SYNOPSIS
ppmtoacad
'in 15n
[ -dxb ]
[ -poly ]
[ -background
colour ]
[ -white ]
[ -aspect
ratio ]
[ -8 ]
[ ppmfile ]
-15n
DESCRIPTION
Reads a portable pixmap as input. Produces an AutoCAD\*R slide file or
binary database import (.dxb) file as output.
If no
ppmfile
is specified, input is read from standard input.
OPTIONS
BUGS
AutoCAD has a fixed palette of 256 colours, distributed along the hue,
lightness, and saturation axes. Pixmaps which contain many
nearly-identical colours, or colours not closely approximated by
AutoCAD's palette, may be poorly rendered.
ppmtoacad
works best if the system displaying its output supports the full 256
colour AutoCAD palette. Monochrome, 8 colour, and 16 colour
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 colour but it's no substitute for true raster to vector
conversion. In particular, thin diagonal lines are not optimised at
all by this process.
Output files can be huge.
SEE ALSO
AutoCAD Reference Manual: Slide File Format and Binary Drawing Interchange(DXB) Files - ppm (5) -
AUTHOR
John Walker
Autodesk SA
Avenue des Champs-Montants 14b
CH-2074 MARIN
Suisse/Schweiz/Svizzera/Svizra/Switzerland
Usenet:
Fax:
Voice:
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.
|