第一次文件上传

第一次文件上传
This commit is contained in:
2021-10-25 15:47:43 +08:00
committed by GitHub
parent 78108c22f4
commit 81878deec7
6 changed files with 199 additions and 0 deletions

25
index.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
include 'Img.php';
$obj = new Img();
$obj->UserName = "";
$obj->ToUserName = "";
//$obj->SetFont('01.ttf');
//$obj->SetBackGroundPic('01.jpg');
//$obj->SetSize(393, 708);
//$obj->Start(1);
$obj->SetFont('02.ttf');
$obj->SetBackGroundPic('02.jpg');
$obj->SetSize(580, 774);
$obj->Start(2);
//$obj->OutputHttpImage();
echo $obj->OutputLocalImage();
//echo $obj->OutputBase64();