Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- header('Content-Type: image/png;');
- $im = @imagecreatefrompng('sigbild.png') or die("Cannot select the correct image. Please contact the webmaster.");
- $text_color = imagecolorallocate($im, 0,255,255);
- $text_name = "$Name";
- $text_level = "$Level";
- $text_alter = "$Alter";
- $text_status = "$Status";
- $font = 'arial.ttf';
- imagettftext($im, 16, 0, 20, 36, $text_color, $font, $text_name);
- imagettftext($im, 16, 0, 20, 36, $text_color, $font, $text_level);
- imagettftext($im, 16, 0, 72, 69, $text_color, $font, $text_alter);
- imagettftext($im, 16, 0, 72, 99, $text_color, $font, $text_status);
- imagepng($im);
- imagedestroy($im);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement