PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 43%Total: 5,078 This week: 1All time: 526 This week: 560Down
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
Age: 40
All time rank: 10012 in United States United States
Week rank: 109 Down11 in United States United States Up

  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,078
This week:1
All time:526
This week:560Down
User Ratings User Comments (1)
 All time
Utility:65%StarStarStarStar
Consistency:60%StarStarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:43%StarStarStar
Rank:3494
 
wonfull thanks
14 years ago (rivert9)
35%StarStar