PHP Classes
elePHPant
Icontem

ATextImage: Layout and render text on images

Recommend this page to a friend!
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-12-27 (10 years ago) RSS 2.0 feedStarStarStarStar 63%Total: 3,195 This week: 1All time: 1,073 This week: 862Up
Version License Categories
atextimage 1.0.0GNU General Publi...Graphics, Text processing
Description Author

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.

Picture of George Clarke
Name: George Clarke <contact>
Classes: 7 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Image file Clarke.jpg Photo Photo used with magicman.php
Plain text file class.atextimage.php Class This class will put text of a True Type font onto a photo image, a graphic
Accessible without login HTML file demo.html Data Html file that displays examples of justification and positioning of text
Accessible without login Plain text file demo1.php Example Used with demo.html, Displays the nine possible positions of text, plus shows multiple groups of lines of text on the same image.
Accessible without login Plain text file demoform.php Example A form for the various options of this class and then display image.
Plain text file formimage.php Aux. Used with demoform.php. Displays the image.
Accessible without login Plain text file justdemo.php Example Used with demo.html, Examples of left, center, and right justification of text.
Accessible without login Plain text file magicman.php Example Putting text at the bottom of a photo.
Plain text file offset.php Example Demonstration of the new SetOffset function.

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,195
This week:1
All time:1,073
This week:862Up
User Ratings User Comments (1)
 All time
Utility:90%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:872