I want to use ImageMagick to add a watermark like the image bellow, how can I do this using only IM?
CodePudding user response:
With ImageMagick v6 in bash...
convert image.jpg -alpha set -background none -fill "#ffffff80" \
\( -size 100x100 label:"PROOF" -rotate 45 -write mpr:tile delete \) \
\( clone -tile mpr:tile -draw "color 0,0 reset" \) -composite result.png
For IMv7 use "magick" instead of "convert". For Windows change the continued-line backslashes "\" to carets "^", and remove the backslashes "\(...\)" that escape the parentheses "(...)".