note 23125 added to function.imagettftext
| From: | ismu at dns-network dot com | Date: | Wed, 10 Jul 2002 10:53:08 +0000 |
| Subject: | note 23125 added to function.imagettftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32828@lists.php.net to get a copy of this message | ||
To create smooth font on an image, I did this:
- Create double-sized background image using ImageCreate(), ImageSX(), ImageSY(), and ImageCopy()
functions.
- Write texts using ImageTtfText() function on the double-sized background.
- Copy back the image into original image using ImageCopyResampled() function.
Yes, it requires some computing power, but it works very well ;).
--
http://www.php.net/manual/en/function.imagettftext.php
http://master.php.net/manage/user-notes.php?action=edit+23125
http://master.php.net/manage/user-notes.php?action=delete+23125
http://master.php.net/manage/user-notes.php?action=reject+23125