summaryrefslogtreecommitdiff
path: root/img/convpng
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-12-27 23:25:05 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-12-27 23:25:05 +0800
commita17d580f623dfc3a6eb33c540203798d6200a5fc (patch)
tree765e611d8416754f6924fd89c8448d86acc4abc7 /img/convpng
parent246949269f370fac5ddb581ee0598480d529a48a (diff)
downloadQMidiPlayer-a17d580f623dfc3a6eb33c540203798d6200a5fc.tar.xz
Ultimate truth. (WTF)
Diffstat (limited to 'img/convpng')
-rwxr-xr-ximg/convpng7
1 files changed, 7 insertions, 0 deletions
diff --git a/img/convpng b/img/convpng
new file mode 100755
index 0000000..18cdd31
--- /dev/null
+++ b/img/convpng
@@ -0,0 +1,7 @@
+#!/bin/bash
+for i in *.svg
+do
+inkscape $i --export-png=`echo "$i" | sed 's/.\{4\}$//'`.png --export-area-page --export-dpi=90
+done
+i=qmidiplyr.svg
+inkscape $i --export-png=`echo "$i" | sed 's/.\{4\}$//'`.png --export-area-page --export-width=64 \ No newline at end of file