dotfiles/dotfiles/local/bin/add-shadow.sh

4 lines
166 B
Bash
Executable File

#!/usr/bin/env bash
magick convert "$1" -trim \( +clone -background grey25 -shadow 80x40+5+30 \) +swap -background transparent -layers merge +repage "$1-shadow.png"