color_trace.py
v0.02 Copyright (c) 2011 ukurereh
Traces color images using potrace. This is virtually identical to Inkscape's Trace Bitmap function using stacked colors scans.

Requires Python 3.2 (or later) and the lxml library for Python 3.2 (or later).

Also, several programs must be installed for coor_trace.py to function: pngnq, ImageMagick, and Potrace. Their executables must be accessible from the environment path, or the location of the executables must be entered into color_trace.py (variables PNGNQ_PATH, IMAGEMAGICK_PATH, and POTRACE_PATH).

-------------------

USAGE:
color_trace SRCDIR -colors n DESTDIR
	This will trace all images in SRCDIR to n colors (max 256) and output to destdir

-------------------

LICENSE:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

-------------------

ATTRIBUTION:
color_trace.py imports from:
- svg_stack.py (modified version), Copyright (c) 2009 Andrew D. Straw
