]> git.armaanb.net Git - logo.git/blobdiff - svgconvert
Combine scripts to a single, more streamlined one
[logo.git] / svgconvert
diff --git a/svgconvert b/svgconvert
deleted file mode 100755 (executable)
index f880170..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env bash
-
-mkdir -p png/1024 png/512 png/256 png/128
-
-for PHOTO in svg/*; do
-  BASE=$(basename $PHOTO | cut -d '.' -f 1)
-  inkscape -w 1024 -h 1024 "$PHOTO" --export-filename png/1024/${BASE}.png
-  inkscape -w 512 -h 512 "$PHOTO" --export-filename png/512/${BASE}.png
-  inkscape -w 256 -h 256 "$PHOTO" --export-filename png/256/${BASE}.png
-  inkscape -w 128 -h 128 "$PHOTO" --export-filename png/128/${BASE}.png
-done
-