note 43758 rejected from function.imagegif by nlopess

From: Date: Fri, 02 Jul 2004 10:49:59 +0000
Subject: note 43758 rejected from function.imagegif by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72318@lists.php.net to get a copy of this message
Note Submitter: mon ---- Estoy intentando redimensionar un gif con esta funcion que copiado del foro: function redimensionarGif($fn,$vraz){ header("Content-Type: image/gif \n\n"); list($width, $height, $value, $params) = GetImageSize($fn); echo $width."--".$height."<br>"; $new_width = ceil($width/$vraz); $new_height = ceil($height/$vraz); $new_width2 = ceil($width/$vraz)."0"; $new_height2 = ceil($height/$vraz)."0"; echo $new_width."--".$new_height."<br>".$fn; $newImage = imagecreate($new_width, $new_height); $cpyImage = imagecreatefromgif($fn); imagecopyresized($newImage, $cpyImage, 0, 0, 0, 0, $new_width, $new_height, $width, $height); imagegif($newImage,$fn); imagedestroy($newImage); } pero me sale este error: "Call to undefined function: imagegif() ", tengo instalado gd, alguien me puede ayudar. Gracias

« previous php.notes (#72318) next »