Code: Select all
# Prepare watermark PNG
convert -background transparent \
\( -fill grey75 -font DejaVu-Sans-Condensed \
-size $wm_width label:$wm_text \
-gravity center \) \
\( +clone -fill white -size $wm_width \
label:$wm_text \
-roll -3-3 -gravity center \) \
-reverse -composite -gravity center -rotate $wm_angle \
$wm_filename
# Apply watermark in-place
composite -dissolve $wm_opacity% -gravity center \
$wm_filename $src_filename $src_filename
Please help me make it run faster.
Regards.