autotrace-0.31.1-w32
dxf svg swf bitmap ppm 

所属分类:图形图像处理
开发工具:Visual C++
文件大小:2186KB
下载次数:151
上传日期:2010-07-08 23:48:04
上 传 者qifan586
说明:  转换位图文件到矢量图像文件的源代码,支持BMP, TGA, PNM, PPM, PGM, PBM的输入格式和Postscript, svg, xfig, swf, pstoedit, emf, dxf, cgm等输出格式-Convert bitmap files to vector image file
(fontforge use autotrace)

文件列表:
CORE_RL_xlib_.dll (32768, 2001-12-08)
CORE_RL_magick_.dll (692224, 2001-12-08)
IM_MOD_RL_8bim_.dll (20480, 2001-12-08)
IM_MOD_RL_art_.dll (20480, 2001-12-08)
IM_MOD_RL_avi_.dll (24576, 2001-12-08)
IM_MOD_RL_avs_.dll (20480, 2001-12-08)
IM_MOD_RL_bmp_.dll (24576, 2001-12-08)
IM_MOD_RL_cmyk_.dll (24576, 2001-12-08)
IM_MOD_RL_cut_.dll (20480, 2001-12-08)
IM_MOD_RL_dcm_.dll (110592, 2001-12-08)
IM_MOD_RL_dps_.dll (20480, 2001-12-08)
IM_MOD_RL_dpx_.dll (20480, 2001-12-08)
IM_MOD_RL_ept_.dll (20480, 2001-12-08)
IM_MOD_RL_fax_.dll (20480, 2001-12-08)
IM_MOD_RL_fits_.dll (24576, 2001-12-08)
IM_MOD_RL_fpx_.dll (24576, 2001-12-08)
IM_MOD_RL_gif_.dll (28672, 2001-12-08)
IM_MOD_RL_gradient_.dll (20480, 2001-12-08)
IM_MOD_RL_gray_.dll (20480, 2001-12-08)
IM_MOD_RL_hdf_.dll (20480, 2001-12-08)
IM_MOD_RL_histogram_.dll (20480, 2001-12-08)
IM_MOD_RL_html_.dll (20480, 2001-12-08)
IM_MOD_RL_icm_.dll (20480, 2001-12-08)
IM_MOD_RL_icon_.dll (20480, 2001-12-08)
IM_MOD_RL_iptc_.dll (20480, 2001-12-08)
IM_MOD_RL_jbig_.dll (20480, 2001-12-08)
IM_MOD_RL_jpeg_.dll (24576, 2001-12-08)
IM_MOD_RL_label_.dll (20480, 2001-12-08)
IM_MOD_RL_logo_.dll (65536, 2001-12-08)
IM_MOD_RL_map_.dll (20480, 2001-12-08)
IM_MOD_RL_matte_.dll (20480, 2001-12-08)
IM_MOD_RL_miff_.dll (32768, 2001-12-08)
IM_MOD_RL_mono_.dll (20480, 2001-12-08)
IM_MOD_RL_mpc_.dll (24576, 2001-12-08)
IM_MOD_RL_mtv_.dll (20480, 2001-12-08)
IM_MOD_RL_mvg_.dll (20480, 2001-12-08)
IM_MOD_RL_null_.dll (20480, 2001-12-08)
IM_MOD_RL_pcd_.dll (24576, 2001-12-08)
IM_MOD_RL_pcl_.dll (20480, 2001-12-08)
IM_MOD_RL_pcx_.dll (24576, 2001-12-08)
... ...

AutoTrace is a utility for converting bitmap into vector graphics. Features ======== - tracing outline and midline - color reduction and despeckling - supports a lot of input and output format Licenses ======== The program can be used under the GNU General Public License. The input and output functions (input-*.[ch] and output-*.[ch]) can also be used under the GNU Lesser General Public License(LGPL). Some of code was partially derived from limn of GNU fontutils. However, almost all code is rewritten. Platforms ========= The program was tested using GNU/Linux, HP UX, Solaris, Windows***, Windows NT, Windows 2000, MAC and OS/2 4.0. It compiles with GCC, Borland C++ Builder, Visual C++ and many other compilers. If you use Visual C++ 6.0 for compilation be sure to have at least SP 5 otherwise you could get Memory access violations due to a bug in earlier versions. Requirements ============ AutoTrace can be compiled standalone, then it can import pnm, pbm, pgm, ppm, bmp and tga files. If you have installed libpng (http://www.libpng.org/pub/png/libpng.html) you can also read png files and with ImageMagick a very broad range of input formats is available. You will need at least libpng 1.0.6 and ImageMagick 5.2.1. Most output formats like dxf, emf, eps, ai, er, fig, svg, epd, dr2d and sk are directly integrated in AutoTrace, but if you need swf export you need to install Ming (http://www.opaque.net/ming/). Also you can export to the p2e format. This format can be converted by pstoedit (www.pstoedit.net) to a large number of other formats. If you have installed the latest pstoedit(3.32 or newer), autotrace uses pstoedit directly. However, direct pstoedit support is not stable enough. See INSTALL file for more detail. Installation ============ See the file INSTALL. Usage ===== Program comes from two parts: command and library. Here the options you can use in the command: Usage: autotrace.exe [options] . Options: should be a supported image. You can use `--' or `-' to start an option. You can use any unambiguous abbreviation for an option name. You can separate option names and values with `=' or ` '. background-color : the color of the background that should be ignored, for example FFFFFF; default is no background color. centerline: trace a character's centerline, rather than its outline. color-count : number of colors a color bitmap is reduced to, it does not work on gray scale, allowed are 1..256; default is 0, that means not color reduction is done. corner-always-threshold : if the angle at a pixel is less than this, it is considered a corner, even if it is within `corner-surround' pixels of another corner; default is 60. corner-surround : number of pixels on either side of a point to consider when determining if that point is a corner; default is 4. corner-threshold : if a pixel, its predecessor(s), and its successor(s) meet at an angle smaller than this, it's a corner; default is 100. despeckle-level : 0..20; default is no despeckling. despeckle-tightness : 0.0..8.0; default is 2.0. dpi : The dots per inch value in the input image, affects scaling of mif output image error-threshold : subdivide fitted curves that are off by more pixels than this; default is 2.0. filter-iterations : smooth the curve this many times before fitting; default is 4. input-format: TGA, PBM, PNM, PGM, PPM or BMP. help: print this message. line-reversion-threshold : if a spline is closer to a straight line than this, weighted by the square of the curve length, keep it a straight line even if it is a list with curves; default is .01. line-threshold : if the spline is not more than this far away from the straight line defined by its endpoints, then output a straight line; default is 1. list-output-formats: print a list of support output formats to stderr. list-input-formats: print a list of support input formats to stderr. log: write detailed progress reports to .log. output-file : write to output-format : use format for the output file output-format : use format for the output file eps, ai, p2e, sk, svg, fig, swf, emf, mif, er, dxf, epd, pdf, cgm or dr2d can be used. preserve-width: whether to preserve line width prior to thinning.\n\ remove-adjacent-corners: remove corners that are adjacent. tangent-surround : number of points on either side of a point to consider when computing the tangent at that point; default is 3. report-progress: report tracing status in real time. debug-arch: print the type of cpu. debug-bitmap: dump loaded bitmap to .bitmap. version: print the version number of this program. width-weight-factor: weight factor for fitting the line width. The library is named libautotrace. About the usage of the library see autotrace.h. Here is a sample program that uses libautotrace. To compile, invoke following commands (on posix): gcc sample.c `./autotrace-config --libs` `./autotrace-config --cflags` /* sample.c */ #include int main() { char * fname = "img/triangle.png"; at_fitting_opts_type * opts = at_fitting_opts_new(); at_input_read_func rfunc = at_input_get_handler(fname); at_bitmap_type * bitmap ; at_splines_type * splines; at_output_write_func wfunc = at_output_get_handler_by_suffix("eps"); bitmap = at_bitmap_read(rfunc, fname, NULL, NULL, NULL); splines = at_splines_new(bitmap, opts, NULL, NULL); at_splines_write(wfunc, stdout, "", NULL splines, NULL, NULL); return 0; } GUI Frontend ============ Frontline, a Gtk+/Gnome based GUI frontend, is under development. See http://autotrace.sourceforge.net/frontline autotrace mailing list is used to discuss frontline. See next. More Information ================ See http://autotrace.sourceforge.net There is a mailing list to discussion autotrace. See also http://groups.yahoo.com/group/autotrace/ Contribution ============ Programmers wanted!!! See TODO and HACKING file and contact the author. Author ====== Martin Weber (martweb@gmx.net)

近期下载者

相关文件


收藏者