From 719d61982953caf61c0df7776347e13105a2e8b2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 22 Oct 2022 12:53:57 +0200 Subject: Add asset rendering scripts. --- tools/build_screen.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tools/build_screen.sh (limited to 'tools/build_screen.sh') 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 -- cgit v1.2.3