inkscape
inkscape copied to clipboard
Simple web service to transform SVG to PNG using Inkscape
Inkscape as a service
A simple web service that transforms the given SVG file into the desired format.
Run with docker run -p 8080:8080 gcr.io/as-a-service-dev/inkscape
URL parameters:
-
input
: URL of the document to transform.
Running the server locally
- Build with
docker build . -t inkscape
- Start with
docker run -p 8080:8080 inkscape
- Open in your browser at
http://localhost:8080"/?url=https://upload.wikimedia.org/wikipedia/commons/f/fd/Ghostscript_Tiger.svg
Deploy to your server
The following container image always reflects the latest version of the master
branch of this repo: gcr.io/as-a-service-dev/inkscape
Deploy to Google Cloud
Or use gcloud beta run deploy --image gcr.io/as-a-service-dev/inkscape