Skip to content

Jordan-Haidee/v2v

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

v2v

Vector to Vector 😊

Interconversion between mainstream vector graphics formats as follows, driven by Inkscape, Ghostscript and pdf2svg, accessed by WebUI built by Gradio

  • SVG

  • EPS

  • PDF

  • EMF

graph LR
SVG-->EPS
SVG-->PDF
SVG-->EMF
EPS-->SVG
EPS-->PDF
EPS-->EMF
PDF-->SVG
PDF-->EPS
PDF-->EMF
EMF-->SVG
EMF-->PDF
EMF-->EPS
Loading

How to Use

1. Install converter Dependencies

Ubuntu

sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt update
sudo apt install inkscape ghostscript pdf2svg

Windows

Install following tools by yourself, and add their executable to system PATH respectively:

2. Install fastapi for API access

pip install fastapi[standard]

3. Install Gradio for WebUI access

pip install Gradio

4. Start Web Server

uvicorn serve:app --port 8005 --host 0.0.0.0

5. Access by WebUI

python ui.py

Visit http://127.0.0.1/8006 for your conversion.

image-20231229202030776

Releases

No releases published

Packages

No packages published

Languages