scripts/dot-local/bin/luma-both-to-png
2023-10-23 15:16:31 +11:00

4 lines
179 B
Bash
Executable file

#!/bin/zsh
for date in ${(u)argv[@]%_*.bmp}; do
magick ${date}_top.bmp ${date}_bot.bmp -alpha set -gravity Center -background 'rgba(0,0,0,0)' -append ${date}.png || exit $?
done