Notice the x-ppi and y-ppi at the listing above. Page num type width height color comp bpc enc interp object ID x-ppi y-ppi size ratioġ 0 image 100 100 gray 1 1 image no 9 0 53 53 169B 14%Ģ 1 image 100 100 gray 1 1 ccitt no 53 53 698B 56% Since I am interested in the same kind of job (though not necessarily to OCR the PDF files, but to convert them to DjVu and then OCR them), I found this question and the responses lacking (since I needed to guess the DPI of the images with the number of pixels and then use the size as output by pdfinfo or other tricks-not to mention that the images inside a PDF may have different densities etc.).Īfter a lot of research more, I found that you can use pdfimages (from package poppler-utils) like the following: $ pdfimages -list deptest.pdf
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |