PHP Classes

ATextImage: Layout and render text on images

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (9 years ago) RSS 2.0 feedStarStarStarStar 63%Total: 3,178 All time: 1,051 This week: 1,415Down
Version License Categories  
atextimage 1.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 is available for providing paid consulting. Contact George Clarke .
Classes: 7 packages by
Country: United States United States
Age: 68
All time rank: 10911 in United States United States
Week rank: 212 Down24 in United States United States Down
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,178All time:1,051
 This week:0This week:1,415Down
User Ratings User Comments (1)  
 All time