Re: Creating watermarks
| From: | Greg Donald | Date: | Sat, 04 Aug 2007 15:36:21 +0000 |
| Subject: | Re: Creating watermarks | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260180@lists.php.net to get a copy of this message | ||
On 8/4/07, Tom Ray [Lists] <lists@blazestudios.com> wrote:
> 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
This is usually referred to as a "captcha".
> 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?
You can write words on images using imagettftext().
--
Greg Donald
http://destiney.com/