Click to See Complete Forum and Search --> : GIF enable or disabled.


mikerh9
03-04-2004, 07:27 PM
I'm trying to resize image. I using the DB function to resize image. The scipt crushing. So I checked on phpinfo and gd_info. Phpinfo says that php for GIF is enable but in gd_info it says that GIF is disable. So Gif is disable or 'false'?

//PHPINFO
GD Support enabled
GD Version bundled (2.0.15 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

//gd_info.php
array(11) { ["GD Version"]=> string(27) "bundled (2.0.15 compatible)" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with freetype" ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(false) ["JPG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XBM Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false) }

yelvington
03-05-2004, 08:21 PM
PHPinfo says
GIF Read Support enabled

gd_info says
["GIF Read Support"]=> bool(true)

There is no conflict. Both indicate that reading GIFs is enabled.

["GIF Create Support"]=> bool(false)
Creating (writing) GIFs is not the same thing as reading.