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

4 lines
159 B
Bash
Raw Normal View History

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