Open-source Rust tool that converts raster images like JPG and PNG into compact SVG vector graphics, usable as a CLI, desktop app, or library.
goku-open/goku-image-to-svg-tool
A Streamlit web app that turns uploaded bitmap images into editable SVG vectors, built on the Vecto .NET tracing engine.
Open-source alternative to:Vectorizer.AI
Adobe Illustrator
- Stars
- 329
- Forks
- 22
- Open issues
- 5
- Last commit
- 2 months ago
What is it?
This project wraps the Vecto command-line vectorization engine in a Streamlit web interface. You upload a PNG, JPG, or other common bitmap format, and it traces the image into an SVG automatically. Changing parameters such as palette, style, or detail re-runs the conversion so you can compare results immediately.
The interface shows the original image, the vector result, and a split view with a draggable slider for side-by-side comparison. Output can be downloaded as SVG, or rendered to PNG at a chosen scale. The Vecto engine itself is a bundled binary, so no separate install is needed to run it locally with pip and Streamlit.
The UI is available in English and Chinese, and the project can be deployed to Streamlit Community Cloud.
Key features
- 01Automatically traces uploaded bitmaps into SVG on upload.
- 02Adjustable palette (automatic or fixed color count), style, and detail parameters.
- 03Draggable split-view comparison of original, vector, and segmented output.
- 04Export to SVG or PNG at a chosen scale.
- 05Supports PNG, JPG, BMP, GIF, TGA, TIFF, WebP, PBM, and PPM inputs.
- 06Bilingual Chinese and English interface.
Use cases
- Converting logos or icons into scalable SVG files for web or print.
- Turning flat illustrations or scanned line art into editable vector paths.
- Quickly previewing how different tracing parameters affect output before exporting.
Quick start
- 1
Clone the repository
git clone https://github.com/goku-open/goku-image-to-svg-tool.git - 2
Enter the project folder
cd goku-image-to-svg-tool - 3
Install Python dependencies
pip install -r requirements.txt - 4
Start the Streamlit app and open http://localhost:8501
streamlit run streamlit_app.py
Things to know
- The bundled tools/vecto engine binary is built for linux-x64, so other platforms must download Vecto separately.
- The app depends on the external Vecto engine for all vectorization work.
Topics
FAQ
- What is goku-image-to-svg-tool?
- A Streamlit web app that turns uploaded bitmap images into editable SVG vectors, built on the Vecto .NET tracing engine. This project wraps the Vecto command-line vectorization engine in a Streamlit web interface. You upload a PNG, JPG, or other common bitmap format, and it traces the image into an SVG automatically. Changing parameters such as palette, style, or detail re-runs the conversion so you can compare results immediately.
- Is goku-image-to-svg-tool free to use? What license does it have?
- goku-image-to-svg-tool is open source under the MIT license. Check the license terms before using it in commercial products.
- Is goku-image-to-svg-tool still maintained?
- Updated within 6 months. The last commit to goku-image-to-svg-tool was on Aug 21, 2026.
- What can I use goku-image-to-svg-tool for?
- Converting logos or icons into scalable SVG files for web or print. Turning flat illustrations or scanned line art into editable vector paths. Quickly previewing how different tracing parameters affect output before exporting.
- How do I install goku-image-to-svg-tool?
- Clone the repository: git clone https://github.com/goku-open/goku-image-to-svg-tool.git Enter the project folder: cd goku-image-to-svg-tool Install Python dependencies: pip install -r requirements.txt Start the Streamlit app and open http://localhost:8501: streamlit run streamlit_app.py
- Where can I get goku-image-to-svg-tool?
- The source code and installation instructions are on GitHub: https://github.com/goku-open/goku-image-to-svg-tool
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
AI agent workflow that turns documents or topics into natively editable PowerPoint (.pptx) decks with real shapes, charts, tables and templates.
A self-hosted Python pipeline that collects news from many sources, scores and deduplicates it, and writes a daily briefing in English and Chinese.
Turns any photo into a one-continuous-line drawing rendered on paper in pen, pencil, ink or paint, and films the drawing being made, all in the browser.
A large collection of open-source AI agents, agent skills, and RAG apps built on Claude, Gemini, GPT, DeepSeek, Llama, and Qwen models.
Python library that turns scripts into interactive web apps for data dashboards, reports and chat apps.