On 4/24/07, Steven Macintyre <[EMAIL PROTECTED]> wrote:
Alo,
I have a client looking to do the following;
There is a standard "voucher" design, in the format of JPG ... now ... they
wish to create a voucher system where if you reach so many points etc you
can claim a voucher (using the design) with a expiry date ... current +
30days and a unique voucher number.
Now, I have looked at ImageCreateFromjpeg etc ... but ... cant figure out
how to place the text on it within the specified areas. It will then be
emailed to the user.
Does anyone know of an idea out there already I can take a look at ... or
some advice?
Kind regards,
Steven Macintyre
You're at the right start, you should create a image stream with
ImageCreateFromJpeg, and then you should write text to it with one of
the following functions:
ImageTtfText
ImagePsText
ImageFtText
and then save it, or output it. (ImageJpeg for example)
Tijnema
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php