Tema: MySQL in GD
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/08/2008, 16:01
Suyta
(Desactivado)
 
Fecha de Ingreso: septiembre-2004
Mensajes: 360
Antigüedad: 22 años, 1 mes
Puntos: 1
Respuesta: MySQL in GD

Caso concreto:

Si uso esto:

Código PHP:
....
....
$myimage=$fullurl.$image;
$img_handle = imageCreateFromPNG("$myimage");

$color = ImageColorAllocate ($img_handle, 100, 100, 100);


    
$img_w = imagesx($img_handle);
    
$img_h = imagesy($img_handle);
    
$font = 'times.ttf';
$font_size1 = 23;
$font_size2 = 10;

    
$text1="Hello... ".$name;

imagettftext($img_handle, $font_size1, 3, round(($img_w/2)-((strlen($text1)
...
... 
No me genera la imagen.

Última edición por Suyta; 21/08/2008 a las 00:09