svg2png.py
is a Python script that converts SVG files to PNG format using the pyppeteer
library for headless Chrome automation.
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
python3 svg2png.py FULL_PATH_OF_INPUT FULL_PATH_OF_OUTPUT
Only ask for path ... 😉
python3 svg2png.py