Skip to main content

A PySide6 desktop application for high-quality raster-to-vector (SVG) conversion.

Project description

Image Vectorizer

Image Vectorizer Hero

Last updated: 2026-06-05

Image Vectorizer is a Python and PySide6 desktop application foundation for working with raster images. The current application supports local image import, original and processed previews, image metadata display, and an initial grayscale and threshold processing pipeline. It can also detect, simplify, and preview color-aware vector paths using configurable quality, background removal, and comparison controls. The desktop UI supports accessible Light, Dark, and System theme modes, single SVG export, and responsive batch SVG processing.

Install Dependencies

python -m pip install -r requirements.txt

Run

From the project root:

python main.py

Or use the development runner:

python scripts/run_dev.py

Build & Packaging

To bundle the application into a standalone desktop executable for distribution:

On Windows

.venv\Scripts\python scripts\build_app.py

On macOS / Linux

.venv/bin/python scripts/build_app.py

The script will automatically handle:

  1. Cleaning previous build output folders.
  2. Generating a clean build using the configuration from image_vectorizer.spec.
  3. Creating the standalone package in the dist/ directory.
  4. Auto-detecting the application icon in app/resources using the native platform icon format when available.
  5. Running a post-build cleanup on temporary compilation artifacts.
  6. Using PyInstaller from .venv or the system PATH.

Documentation

Project documentation is available in docs/.

  • docs/architecture/ for system and pipeline architecture.
  • docs/developer/ for setup, verification, benchmark, and packaging guides.
  • docs/product/ for project overview, glossary, status, and roadmap.
  • docs/user/ for UI workflow, performance tips, and troubleshooting.

CI/CD & Release Automation

We use GitHub Actions to automate desktop application builds, version tagging, and release publishing.

1. CI Build Workflow (build.yml)

  • Triggered automatically on push or pull requests to the main branch, or via manual run (workflow_dispatch).
  • Builds standalone application packages for Windows, macOS, and Linux in parallel.
  • Uploads the build outputs as workflow artifacts (Image-Vectorizer-Windows, Image-Vectorizer-macOS, Image-Vectorizer-Linux).

2. Manual Tag Workflow (create_tag.yml)

  • Triggered manually from the Actions tab.
  • Accepts a semantic version tag (e.g. v1.0.0) and pushes it to the repository after validating that the format matches v*.*.* and the tag does not already exist.

3. Release Publication Workflow (release.yml)

  • Automatically triggered when a new version tag (v*.*.*) is pushed.
  • Re-builds the application packages for all target platforms, compiles them, and attaches the archived builds to a newly created GitHub Release using the version number as the release name.

4. PyPI Publishing Workflow (publish_pypi.yml)

  • Triggered automatically when a new version tag (v*.*.*) is pushed, or via manual run (workflow_dispatch).
  • Compiles the source distribution and wheel packages, validates package metadata using twine, and publishes the package to PyPI under the name silukman-image-vectorizer using the repository secret PYPI_API_TOKEN.

Difference Between Manual and CI Build

  • Manual Build: Runs locally via scripts/build_app.py. Uses local system libraries, virtual environment compilers, and target architecture. Best for fast local verification.
  • CI Build: Runs inside clean, isolated containers on GitHub-hosted runners (Windows, macOS, Linux). Guarantees reproducible builds and doesn't pollute local environments.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

silukman_image_vectorizer-1.0.5.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

silukman_image_vectorizer-1.0.5-py3-none-any.whl (4.4 MB view details)

Uploaded Python 3

File details

Details for the file silukman_image_vectorizer-1.0.5.tar.gz.

File metadata

File hashes

Hashes for silukman_image_vectorizer-1.0.5.tar.gz
Algorithm Hash digest
SHA256 edb06e962f0ad76a44e7b5111861f234802bbf37e510da10cdb8606cf0a4bca5
MD5 dcc7d9f48ca597771567cde2a78299a8
BLAKE2b-256 61dd1a37da05f9c36e66dd96ec9679fae25f5c2495cac59ffbe18062d53f7727

See more details on using hashes here.

File details

Details for the file silukman_image_vectorizer-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for silukman_image_vectorizer-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aff9b68e198395156361bd509a56be15b779ea96203a1f5005c6b710391339a0
MD5 3131966991dbf4ae4c9d936c3889fafe
BLAKE2b-256 a5f8ebf88a4bcb9345fca224a622a9778fdf51d8ee31993275201a68c8e8a707

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page