![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
24/01/2003, 20:02
|
| | Fecha de Ingreso: noviembre-2002
Mensajes: 33
Antigüedad: 22 años, 2 meses Puntos: 0 | |
MUCHAS GRACIAS POR LO DE LA CALIDAD.... ACÁ ESTÁ EL CÓDIGO QUE USO..... (POR LO DE LOS COLORES)
Header("Content-type: image/jpeg");
$fondo="foto.jpg";
$foto=imagecreatefromjpeg ($fondo);
$blanco=imagecolorallocate ($foto, 255, 255, 255);
$negro=imagecolorallocate ($foto, 0, 0, 0);
$rojo=imagecolorallocate ($foto, 255, 0, 0);
imagefilledrectangle ($foto, 465, 0, 480, 200, $blanco);
Imagettftext($foto, 10, 90, 475, 189, $negro, "fuente.ttf", "foto de prueba");
Imagettftext($foto, 10, 90, 474, 190, $rojo, "fuente.ttf", "foto de prueba");
Imagejpeg($foto);
Imagedestroy($foto);
GRACIAS
EMILIANO.... |