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

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
StarStarStarStar 65%Total: 3,046 All time: 1,185 This week: 333Up
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: 6262 in Japan Japan
Week rank: 230 Up3 in Japan Japan Down

  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  
This week:0
All time:1,185
This week:333Up
User Ratings User Comments (2)
 All time
x/y dont work, text starts rotating if not 0,0 only one textl...
9 years ago (austin james)
usefull 4 me.
12 years ago (Luis Lopez)

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