RE: [PHP] Creating watermarks
| From: | Jan Reiter | Date: | Sat, 04 Aug 2007 16:06:54 +0000 |
| Subject: | RE: [PHP] Creating watermarks | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260185@lists.php.net to get a copy of this message | ||
Hi!
Try using imagealphablending() to blend your logo onto the original image.
This function should not require the user browser to be capable of blending
functions as would using the alpha channel of a png inmage or such ...
Jan
-----Original Message-----
From: Tom Ray [Lists] [mailto:lists@blazestudios.com]
Sent: Saturday, August 04, 2007 5:32 PM
To: php-general@lists.php.net
Subject: [PHP] Creating watermarks
I've been learning how to use PHP with the GD Library and I've managed
to learn quite a bit. I can upload, resize, create thumbnails and I'm
even able to create "security code" images for forms. My question is how
do I create a Watermark on the image? I want something transparent but
still visible enough to see the copyright and the website. I want to put
it in the center of the image. I would use a non-water marked image and
when it's called on (depending on viewing size) I want the water mark to
be added.
How would one go about doing that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php