PHP Classes

ATextImage: Layout and render text on images

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 3,226 All time: 1,091 This week: 146Up
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
Age: 78
All time rank: 10413 in United States United States
Week rank: 43 Up5 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (9)  
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.

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,226
This week:0
All time:1,091
This week:146Up
User Ratings User Comments (1)
 All time
Utility:90%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:843