PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 3,049 All time: 1,194 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: 136 Up2 in Japan Japan Equal

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,049
This week:0
All time:1,194
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:1184
 
x/y dont work, text starts rotating if not 0,0 only one textl...
13 years ago (austin james)
15%Star
usefull 4 me.
16 years ago (Luis Lopez)
67%StarStarStarStar