This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
fd frame | while read line; do | |
convert $line \ | |
\( +clone -alpha extract \ | |
-draw 'fill black polygon 0,0 0,15 15,0 fill white circle 15,15 15,0' \ | |
\( +clone -flip \) -compose Multiply -composite \ | |
\( +clone -flop \) -compose Multiply -composite \ | |
\) -alpha off -compose CopyOpacity -composite $line; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment