php的错误提示 大神帮忙解释一下 还有怎么修改 谢谢了

Warning: imagecolorallocatealpha() expects parameter 1 to be resource, string given in E:\php\phpinvoirment\WWW\web\image\fontMark.php on line 12

Notice: Undefined variable: fontent in E:\php\phpinvoirment\WWW\web\image\fontMark.php on line 13

Warning: imagettftext() expects parameter 1 to be resource, string given in E:\php\phpinvoirment\WWW\web\image\fontMark.php on line 13

Fatal error: Call to undefined function image(jpeg)() in E:\php\phpinvoirment\WWW\web\image\fontMark.php on line 18

这写报错应该是你的函数写错了。
。。。expects parameter 1 to be resource, 。。。意思是希望第一个参数是一个资源类型参数
。。。Undefined variable:。。。意思是没有发现变量xxx
Fatal error: Call to undefined function image(jpeg)。。。没有找到这个函数

imagecolorallocatealpha参数错了,第一个是资源,不能直接传递文件名称(字符串),需要使用imagecreatefromgif,imagecreatefromjpeg或imagecreatefrompng来加载地址生成资源

http://php.net/manual/zh/function.imagecolorallocatealpha.php