It should be possible to do exactly what you want using the image functions
in php. You can get an image add text and then save the image in a
directory (or database I guess). Because adding a "stamp" takes
milliseconds, why not just do the operation when it's needed and erase it
when you're done. this way, you need only one database.
The bare bones of it would look something like this:
imagettftext($image, 8, 0,$x, $y, $red, $font, "text");
Hope this helps,
----- Original Message -----
From: "DrTebi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 11:11 PM
Subject: [PHP] Images and MySQL - please help
> I am trying to do this:
> - I have an image stored in database 'A'
> - a php script should load this image, and "stamp" it with a watermark
> - then the php script should save the new image (with the watermark)
> in database 'B' ...
> How can I do this? I guess somehow I have to buffer the output, manipulate
> the buffer by adding the watermark, and then "insert" the image into the
> Is this possible? Any ideas?
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php