Master Summoner
- Joined
- May 11, 2008
- Messages
- 513
- Reaction score
- 99
<?
$font = $_GET['input1'];
$font_file = '../_styling/fonts/volter.ttf';
header("Content-type: image/png");
$im = @imagecreate("235","69") or die();
$transparant = imagecolorallocate($im, 51, 80, 124);
ImageColorTransparent($im, $transparant);
$img = imagecreatefrompng("../images/main/ad.PNG");
imagecopy($im, $img, 0, 0, 0, 0, 235, 69);
$black = imagecolorallocate($im, 0x00, 0x00, 0x00);
imagefttext($im, 13, 0, 6, 42, $black, $font_file, $font);
imagepng($im);
imagedestroy($im);
?>