Git Product home page Git Product logo

png-to-svg's Introduction

PNG to SVG

This tool allows users to convert PNG images to SVG format. Users can upload PNG files through a user-friendly frontend interface and get the converted SVGs as downloadable ZIP files. The frontend is developed using Svelte, a modern component framework, while the backend leverages FastAPI, a fast and efficient web framework for building APIs.

demo.mov

Features

  • Upload: Users can upload PNG files via drag and drop or file selection.
  • PNG to SVG Conversion: Once the PNG files are uploaded, they are sent to the backend for conversion to SVG format.
  • Download: Users can download all the converted SVG files as a ZIP archive.

Startup Procedure

  1. Clone the repository by running the following command
git clone https://dsrg.backlog.com/git/WEBAPI/beach-litter-segmentation.git
cd beach-litter-segmentation
  1. Change sapmle.env to .env with the following command
mv sample.env .env
  1. Change the contents of .env
  • For IP, enter the IP address where you want to set up the server; you can use the ip a command to find out the IP address configured on your PC (usually found in the inet of eth~ or enp~)

  • For FRONTEND_PORT and BACKEND_PORT, enter the port numbers on which you want to start the front-end and back-end servers.

IP=0.0.0.0
FRONTEND_PORT=55030
BACKEND_PORT=55031
  1. Run the following command to start
sudo docker-compose up -d
  1. Go to the following URL

http://{IP}:{FRONTEND_PORT}

png-to-svg's People

Contributors

fightingso avatar

Watchers

 avatar

Forkers

gmh5225

png-to-svg's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.