如何让imageantialias()起作用?
代码:
imageantialias($image, true);错误:
Fatal error: Call to undefined function imageantialias() in /var/www...信息:
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 发布于 2011-12-11 06:41:39
根据manual的说法
注意:只有在使用GD库的捆绑版本进行编译时,此函数才可用。
如果您的PHP版本大于5,这一定是它对您不可用的原因。
https://stackoverflow.com/questions/8460391
复制相似问题