DEV Community

Oddshop
Oddshop

Posted on • Originally published at oddshop.work

Product Customizer SVG Exporter

We just released Product Customizer SVG Exporter — generate clean, layered svgs from custom text and image placements.

What it does

A Python library for programmatically creating product mockups and custom designs. It's for developers building print-on-demand, merch, or labeling apps. Exports production-ready, clean SVG files with properly grouped elements.

Features

  • Programmatically place and transform text on SVG templates
  • Precisely position and scale raster images (PNG, JPG) within SVG
  • Export clean, minified SVG code with no editor metadata
  • Layer management for reordering design elements
  • Batch processing to generate multiple design variants

Usage

from product_customizer import Customizer
c = Customizer('template.svg')
c.add_text('Hello World', x=100, y=150, font_size=24)
c.add_image('logo.png', x=50, y=50, width=200)
c.export('design.svg')
Enter fullscreen mode Exit fullscreen mode

Requirements

Python 3.8+. Install dependencies:

pip install -r requirements.txt
Enter fullscreen mode Exit fullscreen mode

Get it

Download Product Customizer SVG Exporter for $29 →

Buy once, use anywhere. ZIP includes the full script, README, and usage examples.


Originally published at oddshop.work
Built by OddShop — Python automation tools, one new release every week.

Top comments (0)