RE: [PHP] Reading and using GIF files

From: Date: Thu, 30 Oct 2003 13:57:45 +0000
Subject: RE: [PHP] Reading and using GIF files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168147@lists.php.net to get a copy of this message
>>> Fatal error: Call to undefined function: imagecreatefromgif() in ... New GD version doen't include "imagecreatefromgif" api because of gif patent ... Cordialement, Jean-Philippe BENARD Consultant STERIA Infogérance (jean-philippe.benard-renexter@renault.com) -----Message d'origine----- De : Marek Kilimajer [mailto:kilimajer@webglobe.sk] Envoyé : jeudi 30 octobre 2003 14:53 À : BENARD Jean-philippe Cc : php-general@lists.php.net Objet : Re: [PHP] Reading and using GIF files BENARD Jean-philippe wrote: > Hi, > > Now GD doesn't support GIF file format, how can I use imageXXX > functions in order to resize/transform/... GIF files? > Are there any tools transforming GIF to JPG/PNG/..? > Use image functions in this order: imagecreatefromgif - read the gif file imagecreate - this will hold your resized image imagecopyresampled - from the gif source to the new image imagepng/imagejpeg - output the resampled image as png/jpg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#168147) next »