This commit is contained in:
vinceliuice
2020-06-20 22:53:17 +08:00
parent 3061980e20
commit b82c7a28b4
480 changed files with 1696 additions and 1751 deletions

View File

@@ -1,6 +1,7 @@
#! /bin/bash
INKSCAPE="/usr/bin/inkscape"
OPTIPNG="/usr/bin/optipng"
INDEX="select.txt"
ASSETS_DIR="select-2k"
@@ -18,7 +19,8 @@ else
$INKSCAPE --export-id=$i \
--export-dpi=144 \
--export-id-only \
--export-png=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null
--export-filename=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null
$OPTIPNG -o7 --quiet $ASSETS_DIR/$1.png
fi
done