[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 23/04/13 19:13, Kevin Lucas wrote:
Just a word of warning - I would imagine that if the script used to add the watermark was known then it could be used to remove - unless using an imageOn Tue, 2013-04-23 at 13:48 +0100, Grant Phillips-Sewell wrote:Excellent! Thanks Paul, this will come in very handy. On 23 April 2013 13:12, Paul Sutton <zleap@xxxxxxxxx> wrote: HiI am trying to add a simple creative commons watermark to animagehttp://tuxtweaks.com/2009/08/batch-watermark-images-in-linux/I use this script to add "Out Of Print" WM over prints for a Customer #!/bin/bash #WATERMARK="$HOME/test/watermark/outofstock.jpg" echo "*****************************************" echo "* Image Resize and Watermarking Script *" echo "* By Gilbert Mendoza - SavvyAdmin.com! *" echo "*****************************************" echo " " for each in ~/test/temp/*{.jpg,.jpeg,.png} do echo "Working on $each ..." convert -resize 440 -pointsize 50 -font jd.ttf -fill rgba \(255,255,255,0.9\) -gravity center -annotate +0+0 \"Sorry\ Out\ of\ Print\" $each $each 2> /dev/null echo "... Done!" done exit 0 It works fine I copy them all to ~/test/temp first so I can keep the Originals. You can spec your font size and fill colour!
Tom te tom te tom -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq