PHP Classes

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,047 All time: 1,189 This week: 310Up
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: 267 Up1 in Japan Japan Up

  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,047
This week:0
All time:1,189
This week:310Up
User Ratings User Comments (2)
 All time
Utility:95%StarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:797
 
x/y dont work, text starts rotating if not 0,0 only one textl...
11 years ago (austin james)
15%Star
usefull 4 me.
13 years ago (Luis Lopez)
67%StarStarStarStar
 
For more information send a message to info at phpclasses dot org.