duangang1991 2011-12-10 22:24
浏览 112
已采纳

GDlib imageantialias()不起作用

How to get imageantialias() to work?

code:

imageantialias($image, true);

error:

Fatal error: Call to undefined function imageantialias() in /var/www...

info:

PHP Version 5.3.3-7+squeeze3
gd
GD Support  enabled
GD Version  2.0
FreeType Support    enabled
FreeType Linkage    with freetype
FreeType Version    2.4.2
T1Lib Support   enabled
GIF Read Support    enabled
GIF Create Support  enabled
JPEG Support    enabled
libJPEG Version     6b
PNG Support     enabled
libPNG Version  1.2.44
WBMP Support    enabled 
  • 写回答

1条回答 默认 最新

  • douzao2992 2011-12-10 22:41
    关注

    According to the manual,

    Note: This function is only available if PHP is compiled with the bundled version of the GD library.

    If your PHP version is > 5, this must be the reason why it's not available for you.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 如何实现H5在QQ平台上的二次分享卡片效果?
  • ¥15 python爬取bilibili校园招聘网站
  • ¥30 求解达问题(有红包)
  • ¥15 请解包一个pak文件
  • ¥15 不同系统编译兼容问题
  • ¥100 三相直流充电模块对数字电源芯片在物理上它必须具备哪些功能和性能?
  • ¥30 数字电源对DSP芯片的具体要求
  • ¥20 antv g6 折线边如何变为钝角
  • ¥30 如何在Matlab或Python中 设置饼图的高度
  • ¥15 nginx中的CORS策略应该如何配置