note 31363 added to function.imagecreatefromgif
| From: | php-general at lists dot php dot net | Date: | Fri, 18 Apr 2003 14:34:01 +0000 |
| Subject: | note 31363 added to function.imagecreatefromgif | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46785@lists.php.net to get a copy of this message | ||
re: 09-May-2002 11:31
Seems gif2png is no longer at http://www.tuxedo.org/~esr/gif2png/
I found a Win32 version at http://www.r1ch.net/stuff/gif2png/
(for the Unix and source, see http://catb.org/~esr/gif2png/ )
In Win32,
passthru("gif2png $filename");
works fine if gif2png.exe is in the path.
It will overwrite the file with .png extension, so be careful,or use temp files as in the post
referenced above (without the -O; type "gif2png" at the command line for the options).
I had a problem with exceeding the default 30 second execution time limit in PHP, so I added this
line
set_time_limit(0); // some odd gifs take a long time (example, a 25K gif, 700x700, mostly blank)
--
http://www.php.net/manual/en/function.imagecreatefromgif.php
http://master.php.net/manage/user-notes.php?action=edit+31363
http://master.php.net/manage/user-notes.php?action=delete+31363
http://master.php.net/manage/user-notes.php?action=reject+31363