Added watermark function
This commit is contained in:
parent
f0d0a3c11d
commit
7f348b0268
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user