Graphics: ATextImage
George Clarke (contact me)
This class can render one or multiple lines of text on images.
It can layout one or more groups of lines of text along the image. Each group of text can be aligned at the left, center, or right and top, center, or bottom of the image. Each group of text lines can be rendered with justification to the left, center or right.
The text foreground and background colors of text are configurable, as well as the background and border colors of the image.
The text can be rendered using a given TrueType font and and a given size.
The image can generated with a given size and/or output as result of the current script or saved to a file in either GIF, JPEG or PNG formats.
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Good (89.3%)
| Good (89.3%)
| -
| Good (89.3%)
| -
| -
| Sufficient (62.5%)
| 506 |
Click here for detailed information about this class on phpclasses.org
Photo
Photo used with magicman.php
Class
This class will put text of a True Type font onto a photo image, a graphic
Data
Html file that displays examples of justification and positioning of text
Example
Used with demo.html, Displays the nine possible positions of text, plus shows multiple groups of lines of text on the same image.
Example
A form for the various options of this class and then display image.
Aux.
Used with demoform.php. Displays the image.
Example
Used with demo.html, Examples of left, center, and right justification of text.
Example
Putting text at the bottom of a photo.