>>> 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
([EMAIL PROTECTED])

-----Message d'origine-----
De : Marek Kilimajer [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 30 octobre 2003 14:53
À : BENARD Jean-philippe
Cc : [EMAIL PROTECTED]
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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to