Login   Register  
PHP Classes
elePHPant
Icontem

Text on Image

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Richard Sumilang
Name: Richard Sumilang <e-mail contact>
Packages: 3 Browse all classes by Richard Sumilang Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 29
All time rank: 9710 in United States United States
Week rank: 568 Down59 in United States United States Down


  Detailed description   Download .zip .tar.gz  
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);

  Classes of Richard Sumilang  >  Text on Image  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Text on Image
Base name: text_on_image
Description: Simply lets you write text anywhere on an image.
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 4937 users
All time rank: 454
Week users: 0 users
Week rank: 2054 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (62.5%)
Not sure (56.2%)
-
Not sure (50.0%)
-
-
Not sure (41.9%)
1967
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  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

Download all files: text_on_image.tar.gz text_on_image.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.