|  |  | 
            
              | Code (PHP Write text in Image) 
 <?
echo "<img src=MyResize/mygirl.png>";
$font = 'ANGSAZ.TTF';
$string = "Narak Girl By ThaiCreate.Com"; // String
$im = ImageCreateFromJpeg("mygirl.jpg"); // Path Images
$color = ImageColorAllocate($im, 255, 0, 0); // Text Color
$pxX = (Imagesx($im) - 4 * strlen($string))/2; // X
$pxY = Imagesy($im)- 10; // Y
ImagettfText($im, 20, 0, $pxX, $pxY, $color, $font, $string);
imagePng($im,"MyResize/mygirl.png");
ImageDestroy($im);
?>
 |  
              | 
                
                  |  |  |  |  
                  |  | 
                      
                        | Date :
                            2010-07-25 21:36:00 | By :
                            webmaster |  |  |  
                  |  |  |  |  |  |  |