Text To Image: Render a text string as an image

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 4,179 All time: 717 This week: 291Up
Version License Categories
texttoimage 1.0Artistic LicenseGraphics, Text processing
Description Author

This is a simple class that can render a given text string as an image.

The class renders the text in given position of an image of a given width and height using a font of a given size.

It can take the text foreground and background color parameters by value or by name.

The rendered text image can be served in the GIF, JPEG or PNG formats.

Picture of Er. Rochak Chauhan
  Performance   Level  
Name: Er. Rochak Chauhan is available for providing paid consulting. Contact Er. Rochak Chauhan .
Classes: 53 packages by
Country: India India
Age: 42
All time rank: 21 in India India
Week rank: 18 Down3 in India India Down
Innovation award
Innovation award
Nominee: 14x

Winner: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file TestToImageExample.php Example Example Script
Plain text file TextToImage.inc.php Class Converts a string to Image.

Downloadtexttoimage-2005-06-14.zip 1KB
Downloadtexttoimage-2005-06-14.tar.gz 1KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
WebSafeColors.inc.php Download .zip .tar.gz This class is Inherited Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:717
This week:291Up
 User Ratings  
 All time

For more information send a message to info at phpclasses dot org.