Login   Register  
PHP Classes
elePHPant
Icontem

Class: Text on Image

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Richard Sumilang  >  Text on Image  >  Download .tar.gz .zip  >  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.
Related classes: ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 4858 users
All time rank: 428
Week users: 1 user
Week rank: 2481
Picture of Richard Sumilang
Author: Richard Sumilang <e-mail contact>
Packages: 3 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Age: 28
All time rank: 9710 in United States United States
Week rank: 212 Down20 in United States United States Down


  Detailed description  
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);

 

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

  Rate classes User ratings   Applications   Files Files  

  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%)
1899
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
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.