Login   Register  
PHP Classes

Text to image with selected font: Generate an image with a given text

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-07-25 (7 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 3,007 This week: 1All time: 1,126 This week: 1,364Down
Version License PHP version Categories  
texttoimag 1.0Freely Distributable5PHP 5, Graphics
Description Author  

This class can be used to generate an image with a given text.

It creates an image with a given width and height and renders a given text string in a specific position.

The text font, size, foreground and background colors are configurable.

The image can be saved to a server side file or generated as the current script output in the JPEG, PNG or GIF formats.

Picture of Taslim Mazumder Sohel
Name: Taslim Mazumder Sohel <contact>
Classes: 2 packages by
Country: Japan Japan
Age: ???
All time rank: 5972 in Japan Japan
Week rank: 751 Down2 in Japan Japan Equal

  Files folder image Files  
File Role Description
Accessible without login Plain text file img.php Example Example
Plain text file TextToImage.class.php Class TextToImage.class.php

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,007All time:1,126
 This week:1This week:1,364Down
User Ratings User Comments (2)  
 All time
x/y dont work, text starts rotating if not 0,0 only one textl...
3 years ago (austin james)
usefull 4 me.
6 years ago (Luis Lopez)