merhaba.. resim üzerine şu kodlarla yazı yazdırabiliyorum fakat ben alt alta 2-3yazı yazdırmak istiyorum. yazıya <br>, \n etiketleri koydum ama olmadı. başka yöntem bilen var mı?
kodlar bunlar..
<?php 
$resimYolu = "1.png";
$yazi = "deneme";
function imageYaz ($resimYolu, $yazi){ 

        /* 
        1 => 'GIF', 
        2 => 'JPG', 
        3 => 'PNG', 
        4 => 'SWF', 
        5 => 'PSD', 
        6 => 'BMP', 
        7 => 'TIFF', 
        8 => 'TIFF', 
        9 => 'JPC', 
        10 => 'JP2', 
        11 => 'JPX', 
        12 => 'JB2', 
        13 => 'SWC', 
        14 => 'IFF', 
        15 => 'WBMP', 
        16 => 'XBM' 
        */ 

        if(!extension_loaded("GD")) 
        exit("GD modülü bulunamadi."); 

        if(!file_exists($resimYolu)) 
        exit("Dosya Bulunamadi."); 

        list($x,$y,$type,,,,$mime) = getimagesize($resimYolu); 
        $im = imagecreatetruecolor($x,$y); 

        switch ($type) { 
        case 1 : $im= imagecreatefromgif ($resimYolu); break; 
        case 2 : $im= imagecreatefromjpeg($resimYolu); break; 
        case 3 : $im= imagecreatefrompng ($resimYolu); break; 
        default: exit('HATA! Desteklenmeyen format.'); 
        } 
        $siyah = imagecolorallocate($im, 0,0,0); 
		$x = "115";
		$y = "58";
        //kendıne gore deneme-yanılma yontemıyle duzenlemelısın. 
        if(imagestring($im,2,$x- strlen($yazi)*2,$y -15,$yazi,$siyah)){ 
        header("Content-type: image/png");
        switch($type){ 
            case 1: imagegif($im); break; 
            case 2: imagejpeg($im); break; 
            case 3: imagepng($im); break; 
            default: exit('HATA! Desteklenmeyen format.'); 
            } 
        imagedestroy($im); 
        }else exit("HATA OLUSTU!"); 
} 

imageYaz($resimYolu,$yazi);
?>