Add 853x480 overlay
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2020-12-29 21:49:08 +01:00
parent 6c7665e3ee
commit 2f60d7d461
3 changed files with 21 additions and 0 deletions

17
static/gen-overlay480.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
set -e
if [ -z "$1" ]
then
echo "Logo to generate overlay from was not specified."
exit 1
fi
DIR="$(dirname "$(which "$0")")"
export LOGO_URL="file://$DIR/logoGen/$1.svg"
envsubst < "$DIR/overlay480.svg" > overlay480.tmp.svg
inkscape -o overlay480.png overlay480.tmp.svg
rm overlay480.tmp.svg

BIN
static/overlay480.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

4
static/overlay480.svg Normal file
View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 853 480">
<image xlink:href="$LOGO_URL" x="853" y="15" width="60" height="60" transform="translate(-75)"/>
</svg>

After

Width:  |  Height:  |  Size: 266 B