$npx skillfedfor your agent

potracer

Python Potrace

With conditionsPyPI UtilitiesReleased Jan 202288.1K downloads / moGPLv2+Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — potracer-0.0.4-py2.py3-none-any.whl
v0.0.4 · released 2022-01-26 · 1 runtime deps: numpy

Yes, if you need image vectorization and want to avoid compilation or OS-specific installation problems. The pure Python approach trades speed for universal compatibility. Maintenance is dormant but stable—no active development, but no known vulnerabilities and the repository remains unarchived. Suitable for general use unless you need production-grade performance on large batches.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires numpy for bitmap structures.
  • Pure Python implementation is approximately 500x slower than the original C version.
  • Low friction installation with a single runtime dependency (numpy).

License · maintenance · safety

GPLv2+ (copyleft) — Licensed under GPLv2+ (copyleft). Any derivative work or distribution must be released under compatible terms. The license also permits relicensing under Peter Selinger's original Potrace terms if those become more permissive.

last release 2022-01-26 (1661 days) · last repo commit 2024-05-09 · 166 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 88,080 downloads/mo, #13,749 on PyPI

Verify before relying

pip install potracer
import potracer
# Trace a bitmap to vector paths
tracer = potracer.Potrace(bitmap_data)
vectors = tracer.trace()
  • Exact API compatibility with pypotrace and whether it truly functions as a drop-in replacement in all scenarios.
  • Whether the optional CLI extra (potrace-cli) is actively maintained separately.
  • Real-world performance characteristics and whether 500x slowdown is acceptable for your use case.
Same gist for agents: .md · .json

What it is and what it does

Potracer is a pure Python implementation of Peter Selinger's Potrace, an algorithm for converting bitmap images into vector graphics by tracing their outlines. Unlike other Python bindings to Potrace such as pypotrace, this port avoids compilation and OS-specific installation issues by implementing the algorithm entirely in Python, making it compatible across platforms.

The library is designed as a drop-in replacement for pypotrace, so existing code using that library can often switch to potracer without modification. It depends only on numpy for bitmap handling. The trade-off is speed: being pure Python, it runs approximately 500x slower than the original C implementation, but remains practical for general use. An optional CLI extra is available for command-line tracing operations.

Use it for

  • Convert scanned documents or hand-drawn sketches to scalable vector formats without compilation hassles.
  • Batch-process bitmap images to vectors in Python scripts where C dependencies are unavailable or problematic.
  • Replace pypotrace in existing projects when installation or OS compatibility becomes an issue.
  • Integrate image vectorization into cross-platform Python applications without native library dependencies.
  • Trace logo artwork or simple graphics from raster sources for design workflows.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need image vectorization and want to avoid compilation or OS-specific installation problems.

The pure Python approach trades speed for universal compatibility. Maintenance is dormant but stable—no active development, but no known vulnerabilities and the repository remains unarchived. Suitable for general use unless you need production-grade performance on large batches.

Install

potracer on PyPI

Before you install

Low friction installation with a single runtime dependency (numpy). Dormant maintenance status—last release was in January 2022—but the repository remains active and unarchived with no known security vulnerabilities.

Requires numpy for bitmap structures. Pure Python implementation is approximately 500x slower than the original C version.

License in practice

Licensed under GPLv2+ (copyleft). Any derivative work or distribution must be released under compatible terms. The license also permits relicensing under Peter Selinger's original Potrace terms if those become more permissive.

Quickstart

pip install potracer
import potracer
# Trace a bitmap to vector paths
tracer = potracer.Potrace(bitmap_data)
vectors = tracer.trace()

Verify before relying

  • Exact API compatibility with pypotrace and whether it truly functions as a drop-in replacement in all scenarios.
  • Whether the optional CLI extra (potrace-cli) is actively maintained separately.
  • Real-world performance characteristics and whether 500x slowdown is acceptable for your use case.

Package facts

LicenseGPLv2+ copyleft
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
numpy
MaintenanceDormant 1,661 days since the last release
Last repo commit
First released
Downloads88,080 / month, #13,749 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Multimedia :: GraphicsTopic :: Multimedia :: Graphics :: Graphics ConversionTopic :: Utilities

Evidence: potracer-0.0.4-py2.py3-none-any.whl

Tags

Capabilities
bitmap to vector tracingimage vectorization pythonpotrace python portoutline tracing algorithmraster to vector conversionimage edge detection tracingvectorize bitmap images
Topics
image-processingvectorizationpure-python

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “bitmap to vector tracing”

  • potracerConverts bitmap images to vector graphics by tracing outlines,…
  • rlPyCairoA Cairo-based rendering backend plugin that generates bitmap and…
  • vtracerConverts raster images (JPG, PNG) into vector graphics (SVG) by…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also vtracer · rlPyCairo · svglib · scour · dash-svg · svgwrite · CairoSVG · vtk · winrt-Windows.Graphics.Imaging · epaper-dithering