View Single Post
Old 04-06-2011, 06:34 AM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,480
Quote:
Originally Posted by Dennis69 View Post
I was wondering if there is a script which I can drop into a dir server side and add a watermark to photos, I don't want to do over a 1/4 million pictures by hand
use imagemagick.

Code:
composite -gravity southeast -quality 90 -dissolve 50 watermark.png image.jpg newimage.jpg
that would be the watermark in the bottom right.

first: backup the originals

second: goto the dir of images you wanna watemark (also make sure your watermark.png is in this folder)

Code:
find . -name "*jpg" -type f -exec composite -gravity southeast -quality 90 -dissolve 50 watermark.png {} {} \;
hope this helps.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote