<?php
$site = file_get_contents("http://www.mynet.com/gununsozu/soz.asp");


preg_match_all('#<td height="100" align="center" class="f1001"><p class="MsoNormal">(.*?)<br>#s',$site,$veriler);


for ($i=0; $i<count($veriler[1]); $i++)

{

$metin = $veriler[1][$i];     

}

 $resim = "bg_resim.png";

 $font = "fonts/tahoma.ttf";

 $golge = "true";


 header('Content-type: image/png; charset=utf-8');

 $resim_yaz = imagecreatefrompng("$resim");



 $gri = imagecolorallocate($resim_yaz, 170, 170, 170);

 $siyah = imagecolorallocate($resim_yaz, 0, 0, 0);


 if ($golge == "true") {

 imagettftext($resim_yaz, 12, 0, 10, 50, $gri, $font, $metin); }

 imagettftext($resim_yaz, 12, 0, 10, 50, $siyah, $font, $metin);


 imagepng($resim_yaz);

 imagedestroy($resim_yaz);

?>
by_grafitus resim üzerine yazdırdığım için dediğini yapamıyorum malesef