Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/09/2004, 12:51
neo_1899_fcb
 
Fecha de Ingreso: marzo-2003
Mensajes: 119
Antigüedad: 21 años, 1 mes
Puntos: 0
no me hagas mucho caso, no lo he provado, pero por logica la cosa tendría que ser así:

Código PHP:
header ("Content-type: image/jpeg"); 
$string "mi texto";                                               
$font  4
$width  ImageFontWidth($font) * strlen($string); 
$height ImageFontHeight($font); 

$img "imagenes/imagen.jpg"
$im imagecreatefromjpeg($img); 

$background_color imagecolorallocate ($im255255255); //white background 
$text_color imagecolorallocate ($im00,0);//black text 
imagestring ($im$font00,  $string$text_color); 
imageJPEG ($im); 

ImageDestroy($im);