Skip to content

Docker container with http-server with SVG to PNG processor

License

Notifications You must be signed in to change notification settings

nokitakaze/docker-svgexport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVG to PNG converter

Docker pulls Docker stars Docker image size

HTTP service for rendering SVG to PNG.

How to use

git clone https://github.com/nokitakaze/docker-svgexport.git
docker-compose up --build -d

And now you could make POST-requests to http://127.0.0.1:8101/process

Use file type field with name file to put svg-file to the server. The response is pure png file with rendered image.

Or you could add type type with value json to get JSON-answer with field result with base64-encoded png image.

Example in Postman

Using existing docker image

version: '2'

services:
  app:
    image: nokitakaze/svg-export
    ports:
      - "127.0.0.1:8101:8080"

About

Docker container with http-server with SVG to PNG processor

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published