How can I tell the resolution of scanned PDF from within a shell script?

后端 未结 7 1894
猫巷女王i
猫巷女王i 2021-02-03 11:25

I have a large collection of documents scanned into PDF format, and I wish to write a shell script that will convert each document to DjVu format. Some documents were scanned a

7条回答
  •  孤街浪徒
    2021-02-03 12:00

    I guess that the scans are included as images in the PDF, so you could use pdfimages to extract them first. Then, identify should be able to find the correct data.

提交回复
热议问题