diff --git a/.functions.sh b/.functions.sh index ebaf8db..2804283 100644 --- a/.functions.sh +++ b/.functions.sh @@ -1,5 +1,13 @@ #!/bin/bash +function watermark(){ + # Add watermark text to image (ImageMagick depentant) + # $1 = source file + # $2 = watermark text + # $3 = destination file + convert -density 150 -fill "rgba(255,0,0,0.25)" -gravity Center -pointsize 80 -draw "rotate -45 text 0,0 \"$2\"" "$1" "$3" +} + function reset_evolution() { # Reset evolution calendar factory # When it hangs connecting to EWS calendar outlooko365