#!/bin/sh
# Writes a new PNG using the adjacent synthetic inputs. Requires ImageMagick 7.
set -eu
cd "$(dirname "$0")"
if [ -e proof-v2-direct.png ]; then echo "Output already exists; choose a new name instead of overwriting." >&2; exit 2; fi
magick montage -font /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf -pointsize 18 -fill '#233246' -background white -label '%f
%wx%h px' './inputs/12-café-tile.png' './inputs/11-space name.png' ./inputs/09-pink-tile.png ./inputs/07-brown-tile.png ./inputs/05-purple-tile.png ./inputs/03-green-tile.png ./inputs/02-blue-tile.png ./inputs/01-red-tile.png -geometry '220x150>+16+12' -tile 2x -title 'FICTIONAL SHORTLIST' -strip proof-v2-direct.png
