Re: Reading and using GIF files
| From: | Marek Kilimajer | Date: | Thu, 30 Oct 2003 13:53:25 +0000 |
| Subject: | Re: Reading and using GIF files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168144@lists.php.net to get a copy of this message | ||
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