Ver Mensaje Individual
  #5 (permalink)  
Antiguo 15/08/2011, 18:50
elnaza_14
 
Fecha de Ingreso: marzo-2011
Mensajes: 17
Antigüedad: 15 años, 6 meses
Puntos: 0
Respuesta: Problema al crear imágenes con PHP mediante gd2.dll

Con las últimas modificaciones quedó así:

Código PHP:
<?php
$image 
= imagecreatetruecolor(300, 300);
$colorf = ImageColorAllocate($image, 255, 255, 255);
imagefill($image, 0, 0, $colorf);
$black = ImageColorAllocate($image, 0, 0, 0);
imageline($image, 0, 2, 2, 2, $black);
imagestring($image, 10, 4, 4, "hola", $black);
header("Content-type: image/jpg");
imagejpg($image);
imagedestroy($image);
?>
El archivo donde se carga no fue cambiado.

Gracias!