PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  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 (13 years ago) RSS 2.0 feedStarStarStar 41%Total: 5,056 All time: 500 This week: 1,109Down
Version License Categories
text_on_image 1.0.0GNU General Publi...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

  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,056
This week:0
All time:500
This week:1,109Down
User Ratings User Comments (1)
 All time
Utility:62%StarStarStarStar
Consistency:56%StarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:41%StarStarStar
Rank:2599
 
wonfull thanks
7 years ago (rivert9)
35%StarStar