Page 1 of 1

Watermark Text Tile

Posted: 2011-09-29T08:03:42-07:00
by airkemp
Hi,

I have the follow bat file which overlays some text on all bitmaps in a folder.

Can anyone tell me how to use the tile command to tile the text accross the image instead of giving it a load of defined positions

Here's my code

Code: Select all

for %%f in (%1\*.bmp) 
do 
( convert "%%f" -pointsize 18 -fill black ^  -gravity northwest -annotate +0+0"WATERMARK" "%2\%%~nf.png" )
Thanks

Re: Watermark Text Tile

Posted: 2011-09-29T09:34:07-07:00
by Bonzo
You will probably need to do some modifications to get working in a batch file:

Code: Select all

convert -size 140x80 xc:none -fill grey -gravity NorthWest -draw "text 10,10 'Copyright'" -gravity SouthEast -draw \"text 5,15 'Copyright'\" miff:- | composite  -tile - input.jpg output.jpg 
Image