GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   FreeBSD Mass Watermarking? (https://gfy.com/showthread.php?t=124136)

kmanrox 04-09-2003 11:43 PM

FreeBSD Mass Watermarking?
 
Is there a way using imagemagick or something, some way, some how, to mass watermark images on a freebsd server?

if so i'd be GREATLY appreciative... thx

jact 04-09-2003 11:45 PM

Get someone to write you up something in Perl to use ImageMagik to do it. I used to have a script that did this but lost it in a server crash. I do all my mass image manipulation with ImageMagik, it's great.

fletcher 04-09-2003 11:48 PM

Try this:

-----------

#!/bin/sh

for i in $1/*.jpg
FILENAME=`basename $i`
composite -geometry +10+10 watermark.png $FILENAME $FILENAME
done

-----------

That's a simple shell script to do it if you have ImageMagick installed. The watermark file needs to be a PNG with transparency. You can set the offset by changing "+10+10", etc.

kmanrox 04-10-2003 12:10 AM

Quote:

Originally posted by fletcher
Try this:

-----------

#!/bin/sh

for i in $1/*.jpg
FILENAME=`basename $i`
composite -geometry +10+10 watermark.png $FILENAME $FILENAME
done

-----------

That's a simple shell script to do it if you have ImageMagick installed. The watermark file needs to be a PNG with transparency. You can set the offset by changing "+10+10", etc.

thx fletch, ill verify this then give it a try...

kevinale 04-10-2003 12:10 AM

I can help if you need it..

icq -> 149241543


All times are GMT -7. The time now is 05:03 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123