Skip to content

SimonTheCoder/svg_render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

svg_render

svg2png.py

svg2png.py is a Python script that converts SVG files to PNG format using the pyppeteer library for headless Chrome automation.

Prerequisites

Before running the script, make sure you have the following dependencies installed:

  • Python 3.x
  • pyppeteer library (version 0.2.6)

You can install the pyppeteer library using the following command:

pip install pyppeteer

usage:

In cmdline:

python3 svg2png.py FULL_PATH_OF_INPUT FULL_PATH_OF_OUTPUT

GUI

Only ask for path ... 😉

python3 svg2png.py

About

render svg into a png with a headless chrome.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages