Meanwhile there is a new version of (Poppler's) pdfimages: $ pdfimages -version This allows for better quality (or 'resolution') if the picture needs to be displayed or printed with higher zoom levels. A so-called 'hi-res' picture basically always has lots of pixels in width and height. The concept of the 'resolution' is always dependent on the environment. ![]() You find this strange, because the result is dependent on your current zoom level? Yes, it is! It does not directly report the DPI resolution - but from the 'width' and 'height' dimensions you can calculate it easily: you measure the width of the picture on your screen with an inch ruler and then divide the 'width pixels' by the measured ruler number. Page num type width height color comp bpc enc interp object IDġ 0 image 1247 1738 rgb 3 8 jpx no 3053 0Ģ 1 image 582 839 gray 1 8 jpeg no 2080 0 Pdfimages -list -f 1 -l 3 /Users/kurtpfeifle/Downloads/ct-magazin-14-2012.pdf But this problem seems to not be the main focus of your question.) Example: ADOBE FIND DPI OF PDF PDF(You can also use it to extract images from a PDF: pdfimages -png -f 3 -l 5 some.pdf prefix- will extract all images as PNGs from the PDF file, starting with first page 3 and ending with last page 5, using a filename prefix of prefix- for each image. It will report the dimensions of each image appearing on the queried pages. ![]() Can a PDF document contain images with different DPI?īasically, you can now use the (new) -list parameter for Poppler's pdfimages commandline utility (it will NOT work for XPDF's version of pdfimages!).Have a look at this answer for your other question:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |