Ver Mensaje Individual
  #5 (permalink)  
Antiguo 25/03/2010, 06:07
Kristt
 
Fecha de Ingreso: diciembre-2008
Mensajes: 118
Antigüedad: 17 años, 10 meses
Puntos: 6
Respuesta: PHP GD - No hay manera... Recuadro negro

y mas acertado creo que será esto:

Código PHP:
header("Content-type: image/png");
$im = imagecreatetruecolor(200, 100);
$color = imagecolorallocate($im, 255, 255, 255);
imagedestroy($im); 

imagefill($im, 0, 0, $color);

$fuente = "GoodDogCool.otf";
imagettftext($im, 15, 0, 15, 20, $color, $fuente, "TEXTO!");
imagepng($im);