summaryrefslogtreecommitdiff
path: root/icons/make_png_icons.pl
diff options
context:
space:
mode:
Diffstat (limited to 'icons/make_png_icons.pl')
-rwxr-xr-xicons/make_png_icons.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/icons/make_png_icons.pl b/icons/make_png_icons.pl
new file mode 100755
index 00000000..7b7d419f
--- /dev/null
+++ b/icons/make_png_icons.pl
@@ -0,0 +1,10 @@
+#!/usr/bin/perl
+
+@lst = qw(16 22 24 32 36 48 64 72 96 128 192 256);
+foreach $i (@lst) {
+ $size = $i-2;
+ $size = $size.'x'.$size;
+ $dir = $i.'x'.$i;
+ `mkdir $dir`;
+ `convert -density 100 -background None scalable/deadbeef.svg -bordercolor None -support 0.1 -resize $size -border 1x1 $dir/deadbeef.png`;
+}