问答详情
源自:7-1 PHPExcel 插入图片

输出来的图片变成乱码?

$objDrawing=new PHPExcel_Worksheet_Drawing();

$objDrawing->setPath($dir."/image/1.jpg");

$objDrawing->setWorksheet($objsheet);

$objWrite=PHPExcel_IOFactory::createWriter($objPHPExcel,'Excel5');

$objWrite->save('php://output');


提问者:宝慕林3358624 2018-10-11 15:35

个回答