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-gpuIntel/AMD (Windows): pip install onnxruntime-directml🚀 Usage Examples1. "Lazy Mode" (Automatic Preset)Perfect for standard photographs. It automatically upscales, refines, and traces using optimal settings.Pythonfrom 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.Pythonfrom 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 PaletteNeed to know the dominant colors of an image before vectorizing?Pythonfrom 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 AttributesWhen overriding parameters in the vectorize() function, use these exact options:ParameterType/OptionsDescriptionpreset"photo", "logo", "illustration"Base settings configuration.max_colorsint (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_fillTrue, FalseApplies morphological closing to heal transparent micro-gaps.License: MIT License. Free for commercial and personal use.

PyPI no acepta archivos con el mismo número de versión. Abre tu archivo `pyproject.toml` y cambia la versión a **`1.0.2`**.

```toml

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.2.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.2-py3-none-any.whl (5.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vectify_simplify-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d828bcc84f956df3fc97ae629226b7ff82d4cef66a08e1ecc082ddea74d88cf6
MD5 46db77fd43839f7c865b943e0118e614
BLAKE2b-256 84b3353e485ee1af139241c70a3c63761d01309b101f6c1026a79230d5d5187b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vectify_simplify-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea4892a6f0e25b49c84b2d98a9e2b72fd24fa3e2d9e17be2a277a6533a4b6dbf
MD5 63d1c906130562a03b79d39b3e59bee1
BLAKE2b-256 22e89eb1e2f60c783c6dfc7ab458983cc76063cc71e41058e776cf14530340b0

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