diff options
author | ByteHamster <info@bytehamster.com> | 2020-01-14 10:18:41 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-01-14 10:18:41 +0100 |
commit | 1037df49da457fe4aa956f8ed86ed1849ff75271 (patch) | |
tree | b538c5c7d73d59b2d6ddbfdfffb31bbfa401dcc1 /artwork | |
parent | 4bb1ee8fe66df4456ab0e9cdd8b96d54b7c6b267 (diff) | |
download | AntennaPod-1037df49da457fe4aa956f8ed86ed1849ff75271.zip |
Added screenshot creator script
Diffstat (limited to 'artwork')
29 files changed, 65 insertions, 0 deletions
diff --git a/artwork/screenshots/generateScreenshots.sh b/artwork/screenshots/generateScreenshots.sh new file mode 100644 index 000000000..7c4d5daa6 --- /dev/null +++ b/artwork/screenshots/generateScreenshots.sh @@ -0,0 +1,53 @@ +#!/bin/sh + +function generateText() { + echo "$1" + convert -size 1698x750 xc:none -gravity Center -pointsize 150 -fill white -font Lato-Regular \ + -annotate 0 "$1" /tmp/text.png +} + +function simplePhone() { + generateText "$1" + convert templates/phone.png \ + $2 -geometry +306+989 -composite \ + /tmp/text.png -geometry +0+0 -composite \ + $3 +} + +function addLayer() { + convert $2 $1 -composite $2 +} + +function generateScreenshots() { + language=$1 + mkdir output/$1 2>/dev/null + text0=`cat raw/$language/texts.txt | head -1 | tail -1` + text1=`cat raw/$language/texts.txt | head -2 | tail -1` + text2=`cat raw/$language/texts.txt | head -3 | tail -1` + text3=`cat raw/$language/texts.txt | head -4 | tail -1` + text4=`cat raw/$language/texts.txt | head -5 | tail -1` + text5=`cat raw/$language/texts.txt | head -6 | tail -1` + + simplePhone "$text0" raw/$language/00.png output/$language/00.png + simplePhone "$text1" raw/$language/01.png output/$language/01.png + simplePhone "$text2" raw/$language/02.png output/$language/02.png + generateText "$text3" + convert templates/twophones.png \ + templates/twophones-a.png -geometry +0+0 -composite \ + raw/$language/03a.png -geometry +119+984 -composite \ + templates/twophones-b.png -geometry +0+0 -composite \ + raw/$language/03b.png -geometry +479+1540 -composite \ + /tmp/text.png -geometry +0+0 -composite \ + output/$language/03.png + simplePhone "$text4" raw/$language/04.png output/$language/04.png + simplePhone "$text5" raw/$language/05.png output/$language/05.png + addLayer templates/suggestions.png output/$language/05.png + optipng output/$language/*.png +} + +mkdir output 2>/dev/null + +generateScreenshots "de-DE" +generateScreenshots "en-US" + +rm /tmp/text.png diff --git a/artwork/screenshots/raw/de-DE/00.png b/artwork/screenshots/raw/de-DE/00.png Binary files differnew file mode 100644 index 000000000..f5f7a463b --- /dev/null +++ b/artwork/screenshots/raw/de-DE/00.png diff --git a/artwork/screenshots/raw/de-DE/01.png b/artwork/screenshots/raw/de-DE/01.png Binary files differnew file mode 100644 index 000000000..eac002341 --- /dev/null +++ b/artwork/screenshots/raw/de-DE/01.png diff --git a/artwork/screenshots/raw/de-DE/02.png b/artwork/screenshots/raw/de-DE/02.png Binary files differnew file mode 100644 index 000000000..f189d11f2 --- /dev/null +++ b/artwork/screenshots/raw/de-DE/02.png diff --git a/artwork/screenshots/raw/de-DE/03a.png b/artwork/screenshots/raw/de-DE/03a.png Binary files differnew file mode 100644 index 000000000..9681a8586 --- /dev/null +++ b/artwork/screenshots/raw/de-DE/03a.png diff --git a/artwork/screenshots/raw/de-DE/03b.png b/artwork/screenshots/raw/de-DE/03b.png Binary files differnew file mode 100644 index 000000000..28868ecc1 --- /dev/null +++ b/artwork/screenshots/raw/de-DE/03b.png diff --git a/artwork/screenshots/raw/de-DE/04.png b/artwork/screenshots/raw/de-DE/04.png Binary files differnew file mode 100644 index 000000000..03467f768 --- /dev/null +++ b/artwork/screenshots/raw/de-DE/04.png diff --git a/artwork/screenshots/raw/de-DE/05.png b/artwork/screenshots/raw/de-DE/05.png Binary files differnew file mode 100644 index 000000000..4d687d88b --- /dev/null +++ b/artwork/screenshots/raw/de-DE/05.png diff --git a/artwork/screenshots/raw/de-DE/texts.txt b/artwork/screenshots/raw/de-DE/texts.txt new file mode 100644 index 000000000..088bb840f --- /dev/null +++ b/artwork/screenshots/raw/de-DE/texts.txt @@ -0,0 +1,6 @@ +Abonniere deine\nLieblings-Podcasts +Player mit\nSchlummerfunktion +Automatisches\nHerunterladen +Wähle dein\nLieblings-Theme +Passe AntennaPod\nan deine Wünsche an +Entdecke tausende\nneuer Podcasts diff --git a/artwork/screenshots/raw/en-US/00.png b/artwork/screenshots/raw/en-US/00.png Binary files differnew file mode 100644 index 000000000..f201567a1 --- /dev/null +++ b/artwork/screenshots/raw/en-US/00.png diff --git a/artwork/screenshots/raw/en-US/01.png b/artwork/screenshots/raw/en-US/01.png Binary files differnew file mode 100644 index 000000000..1c0cd9e8d --- /dev/null +++ b/artwork/screenshots/raw/en-US/01.png diff --git a/artwork/screenshots/raw/en-US/02.png b/artwork/screenshots/raw/en-US/02.png Binary files differnew file mode 100644 index 000000000..c7812c099 --- /dev/null +++ b/artwork/screenshots/raw/en-US/02.png diff --git a/artwork/screenshots/raw/en-US/03a.png b/artwork/screenshots/raw/en-US/03a.png Binary files differnew file mode 100644 index 000000000..153344671 --- /dev/null +++ b/artwork/screenshots/raw/en-US/03a.png diff --git a/artwork/screenshots/raw/en-US/03b.png b/artwork/screenshots/raw/en-US/03b.png Binary files differnew file mode 100644 index 000000000..464c4f9fb --- /dev/null +++ b/artwork/screenshots/raw/en-US/03b.png diff --git a/artwork/screenshots/raw/en-US/04.png b/artwork/screenshots/raw/en-US/04.png Binary files differnew file mode 100644 index 000000000..65fe711a6 --- /dev/null +++ b/artwork/screenshots/raw/en-US/04.png diff --git a/artwork/screenshots/raw/en-US/05.png b/artwork/screenshots/raw/en-US/05.png Binary files differnew file mode 100644 index 000000000..35a1d3b08 --- /dev/null +++ b/artwork/screenshots/raw/en-US/05.png diff --git a/artwork/screenshots/raw/en-US/texts.txt b/artwork/screenshots/raw/en-US/texts.txt new file mode 100644 index 000000000..f7579b498 --- /dev/null +++ b/artwork/screenshots/raw/en-US/texts.txt @@ -0,0 +1,6 @@ +Subscribe to all of your\nfavorite podcasts +Powerful player\nwith sleep timer +Save time with\nautomatic downloads +Select the theme\nthat fits best to you +Adapt AntennaPod\nto your needs +Discover thousands\nof great podcasts diff --git a/artwork/screenshots/raw/fr-FR/00.png b/artwork/screenshots/raw/fr-FR/00.png Binary files differnew file mode 100644 index 000000000..e32664902 --- /dev/null +++ b/artwork/screenshots/raw/fr-FR/00.png diff --git a/artwork/screenshots/raw/fr-FR/01.png b/artwork/screenshots/raw/fr-FR/01.png Binary files differnew file mode 100644 index 000000000..f1119dd11 --- /dev/null +++ b/artwork/screenshots/raw/fr-FR/01.png diff --git a/artwork/screenshots/raw/fr-FR/02.png b/artwork/screenshots/raw/fr-FR/02.png Binary files differnew file mode 100644 index 000000000..17cae455a --- /dev/null +++ b/artwork/screenshots/raw/fr-FR/02.png diff --git a/artwork/screenshots/raw/fr-FR/03a.png b/artwork/screenshots/raw/fr-FR/03a.png Binary files differnew file mode 100644 index 000000000..4944f4f3d --- /dev/null +++ b/artwork/screenshots/raw/fr-FR/03a.png diff --git a/artwork/screenshots/raw/fr-FR/03b.png b/artwork/screenshots/raw/fr-FR/03b.png Binary files differnew file mode 100644 index 000000000..c4cf5f058 --- /dev/null +++ b/artwork/screenshots/raw/fr-FR/03b.png diff --git a/artwork/screenshots/raw/fr-FR/04.png b/artwork/screenshots/raw/fr-FR/04.png Binary files differnew file mode 100644 index 000000000..2d7572b65 --- /dev/null +++ b/artwork/screenshots/raw/fr-FR/04.png diff --git a/artwork/screenshots/raw/fr-FR/05.png b/artwork/screenshots/raw/fr-FR/05.png Binary files differnew file mode 100644 index 000000000..cdf2cac38 --- /dev/null +++ b/artwork/screenshots/raw/fr-FR/05.png diff --git a/artwork/screenshots/templates/phone.png b/artwork/screenshots/templates/phone.png Binary files differnew file mode 100644 index 000000000..f3bc145c4 --- /dev/null +++ b/artwork/screenshots/templates/phone.png diff --git a/artwork/screenshots/templates/suggestions.png b/artwork/screenshots/templates/suggestions.png Binary files differnew file mode 100644 index 000000000..00d761ef6 --- /dev/null +++ b/artwork/screenshots/templates/suggestions.png diff --git a/artwork/screenshots/templates/twophones-a.png b/artwork/screenshots/templates/twophones-a.png Binary files differnew file mode 100644 index 000000000..bb10550e8 --- /dev/null +++ b/artwork/screenshots/templates/twophones-a.png diff --git a/artwork/screenshots/templates/twophones-b.png b/artwork/screenshots/templates/twophones-b.png Binary files differnew file mode 100644 index 000000000..ffe3dddf6 --- /dev/null +++ b/artwork/screenshots/templates/twophones-b.png diff --git a/artwork/screenshots/templates/twophones.png b/artwork/screenshots/templates/twophones.png Binary files differnew file mode 100644 index 000000000..ea532f1d9 --- /dev/null +++ b/artwork/screenshots/templates/twophones.png |