2020年04月07日 php读取Excel里面图片和内容 安装composer 新版office类composer require phpoffice/phpspreadsheet和安装 composer require intervention/image 这个类依赖images这个扩展imagemagick用来写入压缩图片和生成图片 下面是 使用方法 有参考 这个作者的方法 然后改了一部分.因为他的在我本机无法生成图片 us