Ist ein Livebanner für meinen Teamspeak Server. Hier ne Vorschau: https://ts.thiemoo.at/cdn/banner
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
392 B

<?php
header('Content-type: image/jpeg');
$image = imagecreatefromjpeg('banner.jpg');
$white_color = imagecolorallocate($image, 255, 255, 255);
$ezet = __DIR__. '/sortelo.ttf';
$date = new DateTime($com['date']);
$currenttime = $date->format('H:i');
imagettftext($image, 120, 0, 252, 270, $white_color, $ezet, $currenttime);
imagejpeg($image);
imagedestroy($image);
?>