blob: 72a4f6214e0c31ff67ecaeb8392fcc32aac8c419 [file] [log] [blame]
#!/bin/bash
for input in *.svg; do
output=${input%.*}.png
google-chrome --headless --window-size=1920,1080 --disable-gpu --screenshot $input
convert screenshot.png -trim $output
done
rm screenshot.png