Added tablet screenshot
This commit is contained in:
parent
d2d7dbfea3
commit
d804c867c0
@ -6,6 +6,12 @@ function generateText() {
|
||||
-annotate 0 "$1" /tmp/text.png
|
||||
}
|
||||
|
||||
function generateTabletText() {
|
||||
echo "$1"
|
||||
convert -size 1730x350 xc:none -gravity Center -pointsize 80 -fill white -font Lato-Regular \
|
||||
-annotate 0 "$1" /tmp/text.png
|
||||
}
|
||||
|
||||
function simplePhone() {
|
||||
generateText "$1"
|
||||
convert templates/phone.png \
|
||||
@ -14,6 +20,15 @@ function simplePhone() {
|
||||
$3
|
||||
}
|
||||
|
||||
function simpleTablet() {
|
||||
generateTabletText "$1"
|
||||
convert $2 -resize 1280 "/tmp/resized-image.png"
|
||||
convert templates/tablet.png \
|
||||
/tmp/resized-image.png -geometry +227+459 -composite \
|
||||
/tmp/text.png -geometry +0+0 -composite \
|
||||
$3
|
||||
}
|
||||
|
||||
function addLayer() {
|
||||
convert $2 $1 -composite $2
|
||||
}
|
||||
@ -27,6 +42,7 @@ function generateScreenshots() {
|
||||
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`
|
||||
text6=`cat raw/$language/texts.txt | head -7 | tail -1`
|
||||
|
||||
simplePhone "$text0" raw/$language/00.png output/$language/00.png
|
||||
simplePhone "$text1" raw/$language/01.png output/$language/01.png
|
||||
@ -42,7 +58,8 @@ function generateScreenshots() {
|
||||
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
|
||||
mogrify -resize 1120 "output/$language/*.png"
|
||||
simpleTablet "$text6" raw/$language/tablet.png output/$language/tablet.png
|
||||
mogrify -resize 1120 "output/$language/0*.png"
|
||||
}
|
||||
|
||||
mkdir output 2>/dev/null
|
||||
|
BIN
artwork/screenshots/raw/de-DE/tablet.png
Normal file
BIN
artwork/screenshots/raw/de-DE/tablet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 470 KiB |
@ -4,3 +4,4 @@ Spare Zeit mit\nautomatischen Downloads
|
||||
Wähle dein\nLieblings-Theme
|
||||
Passe AntennaPod\nan deine Wünsche an
|
||||
Entdecke tausende\nneuer Podcasts
|
||||
Genieße deine Podcasts. Überall. Jederzeit.
|
||||
|
BIN
artwork/screenshots/raw/en-US/tablet.png
Normal file
BIN
artwork/screenshots/raw/en-US/tablet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 210 KiB |
@ -4,3 +4,4 @@ Save time with\nautomatic downloads
|
||||
Select the theme\nthat fits best to you
|
||||
Adapt AntennaPod\nto your needs
|
||||
Discover thousands\nof great podcasts
|
||||
Enjoy your podcasts. Anywhere. Anytime.
|
||||
|
BIN
artwork/screenshots/raw/fr-FR/tablet.png
Normal file
BIN
artwork/screenshots/raw/fr-FR/tablet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 466 KiB |
BIN
artwork/screenshots/raw/nl-NL/tablet.png
Normal file
BIN
artwork/screenshots/raw/nl-NL/tablet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 466 KiB |
@ -4,3 +4,4 @@ Bespaar tijd met\nautomatische downloads
|
||||
Selecteer het thema\ndat het best bij je past
|
||||
Pas AntennaPod aan\naan jouw wensen
|
||||
Ontdek honderden\ninteressante podcasts
|
||||
Enjoy your podcasts. Anywhere. Anytime.
|
||||
|
BIN
artwork/screenshots/templates/tablet.png
Normal file
BIN
artwork/screenshots/templates/tablet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 161 KiB |
Loading…
x
Reference in New Issue
Block a user