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:

    header("content-type: image/png");
    imagettftext($image, 8, 0,$x, $y, $red, $font, "text");
    header("location: map.htm");

Hope this helps,
----- Original Message -----
From: "DrTebi" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 11:11 PM
Subject: [PHP] Images and MySQL - please help

> Hi,
> 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
> database.
> Is this possible? Any ideas?
> Thanks!
> DrTebi
> --
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to