dotfiles/local/bin/add-shadow.sh: use magick prefix

This is the newer ImageMagick syntax.
This commit is contained in:
Alan Orth 2023-08-22 14:52:24 +03:00
parent 26cad4107e
commit c38e7d8280
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

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