Changes from 1.7:
v1.8 2007/04/09
(2007/04/08) PS1 - portability: use 'test' instead of '[' in shell
scripts.
(2007/04/08) PS1 - test suite: run PDF checks as a separate test.
(2007/04/06) PS1 - fixed logical expressions in flate.c
(2007/02/19) PS1 - portability: replacements for inline and M_PI
(2007/01/16) PS1 - test suite: added checks for rotation in
PostScript, PDF, and PGM backends
(2007/01/16) PS1 - pdf backend: added rotation
(2007/01/16) PS1 - pdf backend: renamed shipcom() function
(2007/01/14) PS1 - autoconf: check if getopt_long reorders its
arguments.
(2007/01/13) PS1 - made pseudo-random number generation
thread-safe and much faster.
(2006/12/20) PS1 - renamed some structures in lzw.c, main.h
(2006/12/20) PS1 - portability: fixed some compiler issues for
Amiga, reported by Andreas Kleinert.
(2006/12/20) PS1 - main.c: changed some return types to void.
(2006/08/14) PS1 - made curve.c:privcurve_free_members() static.
(2005/12/22) PS1 - renamed README.win as README-WIN
(2005/11/11) PS1 - portability: use binary file i/o in Cygwin.
Suggested by Henry He.
(2005/06/24) PS1 - potracelib: fixed allocation bug, reported by
Jung Shin.
(2005/06/23) PS1 - potracelib_demo.c: free resources properly.
(2005/06/23) PS1 - initialize unused private state to 0.
(2005/06/23) PS1 - decompose.c: improved memory allocation scheme.
(2005/05/06) PS1 - added "alphacurve" field to private curve
structure, so that backends that don't use the public interface
(such as the EPS backend) can be warned of non-conforming curves.
This is a bugfix release. A bug in the progress bar code, which
caused arithmetic exceptions on some 64-bit architectures, has been
fixed.
Changes 1.6:
This release contains an algorithm improvement that leads to a
speedup of 20-60% over previous versions of potrace. A new PDF
backend was added, courtesy of Tor Andersson. An option --progress
was added for displaying a progress bar. The Windows version of
potrace now uses MinGW instead of Cygwin, eliminating the need to
install a special DLL alongside the executable programs, and solving
some problems with wildcards and executable PostScript files. Some
spurious "premature end of file" messages were eliminated. The
core functionality of potrace was separated into a library with a
documented API, making it easier for developers to incorporate
potrace into other GPL-licensed software.
a bitmap into a smooth, scalable image. The input is a bitmap (PBM,
PGM, PPM, or BMP), and the default output is one of several vector
file formats. A typical use is to create EPS files from scanned
data, such as company or university logos, handwritten notes, etc.
The resulting image is not "jaggy" like a bitmap, but smooth. It can
then be rendered at any resolution.
Potrace can currently produce the following output formats: EPS,
PostScript, SVG (scalable vector graphics), PGM (for easy
antialiasing of pixel-based images), and XFig. An experimental
Gimppath backend is also provided. Additional backends might be added
in the future.
A separate program, mkbitmap, is also provided. This program can act
as a pre-processor for potrace, applying scaling and various filters
to an image before converting it to a bitmap. This is useful for
potracing greyscale and color images.