thi-ng/umbrella

View on GitHub
scripts/svg2png

Summary

Maintainability
Test Coverage
#!/bin/sh
for src in "$@"; do
    dest="${src%.svg}.png"
    echo "$src -> $dest"
    rsvg-convert -b white -z 2 "$src" > "$dest";
done