note 63229 added to function.imagettftext
| From: | christophe dot helson at free dot fr | Date: | Thu, 16 Mar 2006 15:24:58 +0000 |
| Subject: | note 63229 added to function.imagettftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-105931@lists.php.net to get a copy of this message | ||
I have written a class that converts a text string in a PNG image using imagettftext(). Main
features are :
- transparent background (will display black in MSIE)
- optimized heigth and width of the created image according to the length of the text and the angle
of writing
- positionning of the drawing on a background image in order to merge it
You can also find comments on the design of it or test it on line, if you speak french... The first
link on the page leads to the whole code of the class :
http://christophe.helson.free.fr/textimg.php5
Please feel free to send your comments, especially if you find something to fix or to improve.
----
Server IP: 217.174.203.10
Probable Submitter: 82.234.78.45
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.imagettftext.php
Edit -- http://master.php.net/note/edit/63229
Del: integrated -- http://master.php.net/note/delete/63229/integrated
Del: useless -- http://master.php.net/note/delete/63229/useless
Del: bad code -- http://master.php.net/note/delete/63229/bad+code
Del: spam -- http://master.php.net/note/delete/63229/spam
Del: non-english -- http://master.php.net/note/delete/63229/non-english
Del: in docs -- http://master.php.net/note/delete/63229/in+docs
Del: other reasons-- http://master.php.net/note/delete/63229
Reject -- http://master.php.net/note/reject/63229
Search -- http://master.php.net/manage/user-notes.php