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 60%Total: 3,049 All time: 1,193 This week: 524Up
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: 6292 in Japan Japan
Week rank: 295 Up2 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,049
This week:0
All time:1,193
This week:524Up
User Ratings User Comments (2)
 All time
Utility:87%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1168
 
x/y dont work, text starts rotating if not 0,0 only one textl...
12 years ago (austin james)
15%Star
usefull 4 me.
15 years ago (Luis Lopez)
67%StarStarStarStar