Login   Register  
PHP Classes
elePHPant
Icontem

Text on Image: Simply lets you write text anywhere on an image.

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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-01-04 (11 years ago) RSS 2.0 feedStarStarStar 41%Total: 5,022 This week: 1All time: 482 This week: 1,141Down
Version License Categories  
text_on_image 1.0.0GNU General Public Lice...Graphics
Description Author  

Very simple class to use to write text on an image. Supports GIF, PNG, and JPEG. GD must be compiled with php.

For the following example, provide your own image please.

Example:
=========================
$config=array(
"text" => "123456",
"text_colors" => "0 0 0", // RGB Seperated by spaces
"image_loc" => "coupon.jpg",
"image_type" => "JPEG", // PNG and GIF Supported
// Optional arguments; default is center area on image
"x_pos" => "",
"y_pos" => "",
);

$graphic=new img_add_txt($config);

Picture of Richard Sumilang
Name: Richard Sumilang <contact>
Classes: 3 packages by
Country: United States United States
Age: 31
All time rank: 10010 in United States United States
Week rank: 357 Down41 in United States United States Down

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:5,022All time:482
 This week:1This week:1,141Down
User Ratings User Comments (1)  
 All time
Utility:62%StarStarStarStar
Consistency:56%StarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:41%StarStarStar
Rank:2094
 
wonfull thanks
5 years ago (rivert9)
35%StarStar