transparent + converter-script

This commit is contained in:
Patrick Haßel 2025-11-13 14:41:03 +01:00
parent 4260a7f71a
commit 3c65bfe2d9
4 changed files with 66 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
*.png *.png
*.zip

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 20 KiB

14
script/png-transparent.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
if [ "$1" == "" ]; then
echo "Missing size"
exit 1
fi
cd "$(dirname "$0")/.." || exit 1
inkscape Turnverein1883BildstockLogo-transparent.svg \
--export-type=png \
--export-filename=./png/Turnverein1883BildstockLogo-transparent$1.png \
--export-dpi=300 \
--export-width=$1

14
script/png.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
if [ "$1" == "" ]; then
echo "Missing size"
exit 1
fi
cd "$(dirname "$0")/.." || exit 1
inkscape Turnverein1883BildstockLogo.svg \
--export-type=png \
--export-filename=./png/Turnverein1883BildstockLogo$1.png \
--export-dpi=300 \
--export-width=$1