php 从pdf中提取图片(图像)

ubuntu@VM-0-13-ubuntu:/www/wwwroot/product_ms$ pdfimages -list -f 6 -l 7

Command 'pdfimages' not found, but can be installed with:

sudo apt install poppler-utils

(linux命令)我用来pdfimages -j bar.pdf /tmp/image从 PDF 中提取图像。我的目标是让它们在添加时处于原始状态。因此,如果它是 .tif,我想要一个 .tif,如果它是 jpg,我想要一个 .jpg。我提取的所有内容都不断获得 .ppm

 

posted on 2024-01-29 15:49  andydaopeng  阅读(44)  评论(0编辑  收藏  举报

导航