PHP Classes

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

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
StarStarStar 43%Total: 5,078 All time: 526 This week: 524Up
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: 41
All time rank: 10012 in United States United States
Week rank: 164 Down23 in United States United States Down

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

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