scripts/local/bin/luma-both-to-png

5 lines
179 B
Text
Raw Normal View History

#!/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