Or, if the watermarks *must* be dynamically generated and visible, use
something like ImageMagik to lay something transparent over the image on the
fly. Wouldn't be exactly speedy, but would do the job. (I've seen this done
on a few sites before -- visible graphic watermark is customized for the
logged-in user.)

You may be able to pull this off with the GD 2.01 tools also ... I haven't
messed around too much with the alpha transparency capabilities the 2.01
library allows. ( http://www.php.net/imagealphablending )

-Clay


> From: Justin French <[EMAIL PROTECTED]>
> Date: Wed, 19 Jun 2002 14:25:05 +1000
> To: Peter <[EMAIL PROTECTED]>, Php <[EMAIL PROTECTED]>, php_gen
> <[EMAIL PROTECTED]>
> Subject: Re: [PHP] dynamic water marks?
> 
> The only ways would be:
> 
> 1. dynamically add the water mark to the actual image (change the pixels) so
> that the source file has a watermark.
> 
> 2. add a css layer on top of the image that contains a watermark
> 
> 
> Which brings me to the question, why don't you just add a watermark to each
> image?  If a css layer or anything esle that DOESN'T change the source file
> was employed, it would only act as a very mild deterent.
> 
> Why not just set-up an action script (macro) in Photoshop to batch process
> all the images with a watermark... end of story.
> 
> 
> Justin French
> 
> 
> 
> 
> on 19/06/02 2:22 PM, Peter ([EMAIL PROTECTED]) wrote:
> 
>> howdy ....
>> 
>> does any one know if it's possible to assign a dynamic watermark to am image
>> or place a watermark effect over a images so it looks like it's on the file
>> when it's not really?...with out going into layers hopefully ... for
>> example...
>> 
>> a user up loads a simple image to the site say in jpg format
>> when the image is displayed on any page a watermark is disply over part of
>> the image .. to try and bluff other people into thinking the watermark is
>> part of the image...
>> 
>> 
>> 
>> Cheers
>> 
>> Peter
>> "the only dumb question is the one that wasn't asked"
>> 
>> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to