summaryrefslogtreecommitdiff
path: root/tools/build_screen.sh
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-10-22 12:53:57 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-19 00:05:34 +0100
commit719d61982953caf61c0df7776347e13105a2e8b2 (patch)
tree4e11a9d0c502264f4169de97914fca6ccaf9ef22 /tools/build_screen.sh
parent8d8d6db547653dff6ffb34fdf9336317da50121e (diff)
downloadnevsky-719d61982953caf61c0df7776347e13105a2e8b2.tar.gz
Add asset rendering scripts.
Diffstat (limited to 'tools/build_screen.sh')
-rw-r--r--tools/build_screen.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/build_screen.sh b/tools/build_screen.sh
new file mode 100644
index 0000000..607ca7b
--- /dev/null
+++ b/tools/build_screen.sh
@@ -0,0 +1,10 @@
+mkdir -p tmp
+convert -size 2160x750 gradient:white-none tmp/gradient.png
+convert -resize 2250x750 -gravity Center -crop 2160x750+0+0 +repage ../HIRES/screen1.png tmp/screen1.png
+convert -resize 2250x750 -gravity Center -crop 2160x750+0+0 +repage ../HIRES/screen2.png tmp/screen2.png
+convert -resize 2250x750 -gravity Center -crop 2160x750+0+0 +repage ../HIRES/screen3.png tmp/screen3.png
+convert -resize 2250x750 -gravity Center -crop 2160x750+0+0 +repage ../HIRES/screen4.png tmp/screen4.png
+convert tmp/screen1.png gradient.png -compose Over -flatten screen1.png
+convert tmp/screen2.png gradient.png -compose Over -flatten screen2.png
+convert tmp/screen3.png gradient.png -compose Over -flatten screen3.png
+convert tmp/screen4.png gradient.png -compose Over -flatten screen4.png