initial commit

This commit is contained in:
Givou 2021-09-19 23:18:41 +02:00
commit 234e5a5c02
4 changed files with 16 additions and 0 deletions

0
README.md Normal file
View File

BIN
banner.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

16
index.php Normal file
View File

@ -0,0 +1,16 @@
<?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);
?>

BIN
sortelo.ttf Normal file

Binary file not shown.