Skip to main content

Enterprise-grade AI image upscaling and multi-threaded vectorization engine.

Project description

🚀 Vectify Simplify V8

Vectify Simplify is an enterprise-grade, high-performance Python library that combines Artificial Intelligence (ONNX) with advanced mathematical tracing to convert raster images (JPG, PNG) into pixel-perfect, scalable vector graphics (SVG).

✨ Key Features

  • 🏎️ Hardware Acceleration: Auto-detects CPU, NVIDIA GPUs (CUDA), and Intel/AMD graphics.
  • 🧠 AI Super-Resolution: Built-in ONNX upscaling.
  • 👻 Native Alpha: Preserves PNG transparency.
  • 🎨 Smart Quantization: Vectorize with up to 64 strict colors.

📦 Installation

pip install vectify-simplify

(Optional) For GPU Acceleration:

  • NVIDIA: pip install onnxruntime-gpu
  • Intel/AMD (Windows): pip install onnxruntime-directml

🚀 Usage Examples

1. "Lazy Mode" (Automatic Preset)

Perfect for standard photographs. It automatically upscales, refines, and traces using optimal settings.

from vectify.core import VectifyEngine

# 1. Initialize engine (Auto-detects best hardware)
engine = VectifyEngine(mode="auto")

# 2. Vectorize with a single line
result = engine.vectorize(
    image_path="photo.png", 
    output_path="output.svg", 
    preset="photo" 
)

print(f"Success! SVG created with {result['colors_used']} layers.")

2. "Hybrid Mode" (Preset + Custom Overrides)

Want to use the logo preset but force a specific number of colors? You can override any parameter.

from vectify.core import VectifyEngine

engine = VectifyEngine()

result = engine.vectorize(
    image_path="logo.png", 
    output_path="clean.svg", 
    preset="logo",            # Start with logo defaults
    max_colors=5,             # Override: Force exactly 5 colors
    solid_fill=True,          # Override: Close micro-gaps mathematically
    detail_level="high"       # Ensure sharp corners
)

3. Extract Color Palette

Need to know the dominant colors of an image before vectorizing?

from vectify.core import VectifyEngine

engine = VectifyEngine()
palette = engine.analyze_palette("art.png", max_colors=5)

for color in palette: 
    print(f"Hex: {color['hex']} | Area: {color['percentage']}%")

🎛️ Configuration Attributes

When overriding parameters in the vectorize() function, use these exact options:

Parameter Type/Options Description
preset "photo", "logo", "illustration" Base settings configuration.
max_colors int (e.g., 16, 32) Maximum number of color layers to extract.
detail_level "low", "medium", "high" Polygon count and curve accuracy.
smoothing_level "low", "normal", "high" Curve smoothing (Bezier optimization).
solid_fill True, False Applies morphological closing to heal transparent micro-gaps.

License: MIT License. Free for commercial and personal use.

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

vectify_simplify-1.0.3.tar.gz (5.8 MB view details)

Uploaded Source

Built Distribution

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

vectify_simplify-1.0.3-py3-none-any.whl (5.8 MB view details)

Uploaded Python 3

File details

Details for the file vectify_simplify-1.0.3.tar.gz.

File metadata

  • Download URL: vectify_simplify-1.0.3.tar.gz
  • Upload date:
  • Size: 5.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for vectify_simplify-1.0.3.tar.gz
Algorithm Hash digest
SHA256 1d790becd82de76b8ff074a4371e15615c672db2c2ea020ed5c66a14ba69af1b
MD5 9ff9fda285ee3ba79b57e9251a0d13eb
BLAKE2b-256 7bb5518488ab389542a7db7a4cd9944d793e5f649b8aa1727a2d8f2a2b6a9ee1

See more details on using hashes here.

File details

Details for the file vectify_simplify-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for vectify_simplify-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 35d2501335d00ab4caad4bd6ace2679a88a3471a5017d2793096e97a072301b9
MD5 f1b1c4958a068a872c7f25a1356ecd81
BLAKE2b-256 c0584a8ea0d1e31c7556aa8a4ef655f32bdea9569f61bdc271a97acc0b41d4fa

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