Draw text into an image with PHP and GdPicture ActiveX
<html>
<body>
<?php
$Imaging = new COM("gdpicturepro5.imaging");
$Imaging->SetLicenseNumber ("0012345678910111213141516");
$Imaging->CreateNewImage(1024, 768, 32);
$Imaging->DrawText('Hello World!', 200, 200, 12, 1, $Imaging->ARGB(255,255,
0, 0), "Arial");
$result = $Imaging->SaveAsGif("c:\demo.gif");
if ($result == 0) echo "Successful";
$Imaging = null;
?>
</body>
</html>