

Thanks Harlequin for pdfimages and Spiffeah for the alert about multiple images per page (it's rare, but I've found some). I'm using it in live fire and it works great.
#How to see dpi of pdf pdf#

They contain one scanned image per page, same resolution each page. My particular documents came out of a scanner.

Since DjVu is a pixel-based format, I want to be sure I use the same resolution in the target DjVu file as was used for the scan.ĭoes anyone know what program I can run, or how I can write a program, to determine what resolution was used to produce a scanned PDF? (Number of pixels might work too as almost all documents are 8.5 by 11 inches.)Ĭlarification after responses: I'm aware of the difficulties highlighted by Breton, and I'm willing to concede that the problem in general is ill-posed, but I'm not asking about general PDF documents. Some documents were scanned at 200dpi, some at 300dpi, and some at 600dpi. 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.
