如何在php中在图像上编写文本?
图像没有显示,甚至文本也没有显示。我找不到错误。是否需要在其中添加额外的插件或库文件如何在php中在图像上编写文本?,php,image,text,Php,Image,Text,图像没有显示,甚至文本也没有显示。我找不到错误。是否需要在其中添加额外的插件或库文件 您是否添加了内容类型 //Set the Content Type header('Content-type: image/jpeg'); //Set the Content Type header('Content-type: image/jpeg');
您是否添加了内容类型
//Set the Content Type
header('Content-type: image/jpeg');
//Set the Content Type
header('Content-type: image/jpeg');