I just did something similar to what you are asking to do
I created a mask.png in photoshop with white text at 50% opacity saying what I wanted
Then I used the ImageMagick composite command line program thru a system call
"composite mask.png image.png image.png" to make the new watermarked images.


http://www.naccrraware.net/cluster/totals.php

Really not that hard to do

-Dave





At 11:22 AM 12/10/2003, David T-G wrote:
Ryan, et al --

...and then Ryan A said...
%
% I did want to check out what Al wrote but got scared as he mentioned "steep
% learning curve"

1) He actually meant shallow; there is, indeed, a lot to learn with IM.

2) IM is truly fantastic, and we use it for our gallery application; we
generate thumbnails as needed but cache them for future use.  Our load
isn't too bad as a result.

3) I'm going to soon be adding watermarking (some sort of copyright or
other text, either large and transparent or small and opaque) and
splashing (like "SOLD!" or such, large and fairly or completely opaque)
to my app, and I'll either mogrify the original image (and so thumbs
won't need any extra attention) or add the text to the thumb at gen time
(and so the "view original" will actually look at a full-sized splashed
'thumbnail'), respectively.  It should be quite straightforward but I'd
also love to see anyone's examples :-)

4) I'd love to see a PEAR IM module a la PerlMagick (but I haven't even
looked yet, so please don't flame me for missing something obvious).  One
of these days I'll have The Great Rewrite and that will go in then.  I'd
love to be rid of the system() calls to convert and mogrify.


% % Cheers, % -Ryan % % http://Bestwebhosters.com


HTH & HAND


:-D
--
David T-G                      * There is too much animal courage in
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!



David G. O'Brien
Web Services Coordinator / Systems Administrator

NACCRRA
The Nation's Network of Child Care Resource & Referral
1319 F Street NW, Suite 500
Washington, DC 20004
(202) 393-5501 ext. 113
(202) 393-1109 fax

Reply via email to