Add 853x480 overlay
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
6c7665e3ee
commit
2f60d7d461
|
@ -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
|
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
|
@ -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 |
Loading…
Reference in New Issue