[Xastir-dev] Autotrace
Curt, WE7U
archer at eskimo.com
Wed Jan 7 13:21:58 EST 2004
Anyone played with this before?
/usr/bin/autotrace
Bitmap -> Vector utility. Interesting. Here's a bit from the
man-page:
NAME
autotrace - converts bitmap image data into vector graph
ics
SYNOPSIS
autotrace [-background-color hexvalue] [-centerline]
[-color-count int] [-corner-always-threshold angle]
[-corner-surround int] [-corner-threshold angle]
[-despeckle-level int] [-despeckle-tightness real] [-dpi
int] [-error-threshold real] [-filter-iterations int]
[-help] [-input-format format] [-line-reversion-threshold
real] [-line-threshold real] [-list-input-formats]
[-list-output-formats] [-log] [-output-file file] [-out
put-format format] [-preserve-width] [-remove-adjacent-
corners] [-report-progress] [-debug-arch] [-debug-bitmap]
[-tangent-surround int] [-version] [-width-factor real]
inputfile
DESCRIPTION
The autotrace program accepts bitmap graphics from the
file inputfile specified on the command line, and as out
put produces a collection of splines approximating the
original image, the converting the image from bitmap to
vector format. It behaves in a manner similar to the com
mercial software known as *tream*ine or *orel*race. The
result is sent to standard output unless the -output-file
option is active.
OPTIONS
--snip--
-input-format format
Employ the specified input format, where format is
one of:
BMP (Windows bitmap format)
PBM (Portable BitMap format)
PGM (Portable Graymap format)
PNM (Portable Anymap format)
PPM (Portable Pixmap format)
TGA (Targa format)
The supported input formats are determined when the
application is built and depend upon the availabil
ity of other software (the -list-input-formats com
mand can be used to determine which are supported
locally).
-output-format format
Employ the specified output format, where format is
one of:
ai(Adobe Illustrator)
cgm(Computer Graphics Metafile)
dr2d(IFF DR2D format, used almost exclusively on
Amiga platforms)
dxf(AutoCAD Drawing Exchange format)
emf(Windows Enhanced Metafile format)
epd(Encapsulated Vectorial Graphics format)
eps(Encapsulated )
er(Elastic Reality Shape format)
fig(xfig (1) 3.2)
mif(FrameMaker MIF format)
pdf(Portable Data Format)
p2e(pstoedit (1) frontend)
sk(Sketch)
svg(Scalable Vector Graphics)
swf(Shockwave Flash 3)
The supported output formats are determined when
the application is built and depend upon the avail
ability of other software (the -list-output-formats
command can be used to determine which are sup
ported locally).
-----------------------------------------------------------------
Curt, WE7U archer at eskimo dot com
Arlington, WA, USA http://www.eskimo.com/~archer
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir-dev
mailing list