<?
/*
Pull in all the requirements
*/
require_once("class.img_add_txt.php");
/*
coupon image
*/
$config=array(
"text" => "Test",
"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);
?>
|