![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
31/07/2008, 06:19
|
| | Fecha de Ingreso: junio-2008
Mensajes: 110
Antigüedad: 16 años, 7 meses Puntos: 0 | |
Respuesta: imagen dinamica tengo el siguiente inconveniente:
Código:
<?php
header("Content-type: image/png");
$im = imagecreatefrompng("banner.png");
$negro = imagecolorallocate($im, 0, 0, 0);
$fuente = 'arial.ttf';
$texto = "ejemplo";
imagettftext($im, 20, 0, 10, 20, $negro, $fuente, $texto);
imagepng($im);
imagedestroy($im);
?>
ME arroja el siguiente error:
Código:
The image “http://localhost/imgdin/” cannot be displayed, because it contains errors.
|