Graphics: Text on Image
Richard Sumilang (contact me)
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);
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Not sure (58.3%)
| Not sure (50.0%)
| -
| Not sure (50.0%)
| -
| -
| Insufficient (39.2%)
| 1676 |
Click here for detailed information about this class on phpclasses.org