LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 865|回复: 0

GD問題!

[复制链接]
发表于 2004-8-12 09:57:57 | 显示全部楼层 |阅读模式
array(11) { ["GD Version"]=> string(13) "2.0 or higher" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with freetype" ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(false) ["GIF Create Support"]=> bool(false) ["JPG Support"]=> bool(true) ["NG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XBM Support"]=> bool(false) ["JIS-mapped Japanese Font Support"]=> bool(false) }

上面是我的GD資?,

當我使用gdImageCreateFromGif()時報錯。

Fatal error: Call to undefined function: gdImageCreateFromGif() ....

請問。。何如編譯才能支援gdImageCreateFromGif()

我用的是gd 2.0.28

安裝時
** Configuration summary for gd 2.0.28:

   Support for PNG library:          yes
   Support for JPEG library:         yes
   Support for Freetype 2.x library: yes
   Support for Xpm library:          no
   Support for pthreads:             yes
沒有提到gif

編譯PHP時提示
checking for gdImageCreateFromGif in -lgd... (cached) no
checking for gdImageGif in -lgd... (cached) no

What's new in version 2.0.28?

GIF support has been restored. See gdImageGif, gdImageGifCtx, gdImageGifPtr, gdImageCreateFromGif, gdImageCreateFromGifCtx, and gdImageCreateFromGifPtr. These functions are now thread-safe, similar to the PNG and JPEG manipulation functions.
The new gdImageCreatePaletteFromTrueColor function is identical to gdImageTrueColorToPalette, except that it returns a new image rather than permanently modifying the original.


謝謝~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表