optimize build and svg

This commit is contained in:
L3D 2021-12-30 15:05:18 +01:00
parent f6a379a2b6
commit 6d64076aeb
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 62 additions and 26 deletions

View file

@ -1,10 +0,0 @@
#!/bin/bash
for i in *.svg
do
echo "Transform Image: $i"
inkscape \
--actions="export-filename:$i.png; export-do;"\
--export-dpi 300 \
--export-background white \
$i
done

View file

@ -1,4 +1,3 @@
#!/bin/bash
all:
./.create_svg.sh
find . -type f -name '*.svg' -print0 | xargs -0 -n 1 -P 6 inkscape --actions="export-filename:$1.png; export-do;" --export-background white --export-dpi 96 $1

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 25 KiB