#!/bin/sh
# Writes a new PNG using the adjacent synthetic inputs. Requires ImageMagick 7.
set -eu
cd "$(dirname "$0")"
if [ -e proof-v1-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/01-red-tile.png ./inputs/02-blue-tile.png ./inputs/03-green-tile.png ./inputs/04-gold-tile.png ./inputs/05-purple-tile.png ./inputs/06-teal-tile.png ./inputs/07-brown-tile.png ./inputs/08-olive-tile.png ./inputs/09-pink-tile.png ./inputs/10-indigo-tile.png './inputs/11-space name.png' './inputs/12-café-tile.png' -geometry '220x150>+16+12' -tile 3x -title 'FICTIONAL DESIGN PROOFS - ALL 12' -strip proof-v1-direct.png
