Created
September 4, 2019 07:45
-
-
Save brandonpittman/b505edb93b615a753d1f8e1951bd2e6e to your computer and use it in GitHub Desktop.
Pass a glob into this function to quickly add a basic watermark of the filename
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
function watermark | |
for file in $argv | |
convert $file -font Arial -pointsize 20 -draw "gravity south fill black text 0,12 '$file' fill white text 1,11 '$file' " converted-$file | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment