Что такое PDF? JPG, Joint Photographic Experts Group JFIF format It seems that Imagemagick always assumes a 72dpi and so the information printed here appears to be incorrect.Внимание!: Загрузите файл или укажите рабочий URL-адрес.
FIND DPI OF PDF DOCUMENT PDF
Identify -verbose test.pdf Format: PDF (Portable Document Format) name "test*.jpg") do identify -verbose "$file" | awk 'NR=6' done Pdfimages -j test.pdf test & for file in $(find. So, slhck's answer can be modified to the following. So the dpi is explicitly shown on the 6th line using the -verbose option in the identify command.
Identify -verbose test-0000.jpg | more Image: test-0000.jpgįormat: JPEG (Joint Photographic Experts Group JFIF format) However, the test image created from pdfimages based on slhck's answer contains the desired answer! So, I don't have the -list option as stated by previous answers.
FIND DPI OF PDF DOCUMENT UPGRADE
Most printers will handle a higher resolution too.įor some reason, the latest version of pdfimages that I can upgrade in my CentOS is version 3.04. Generally, anything you want to print should be 300dpi or more.
What is the optimum resolution of converting text file into image PDF. Simply speaking: That's just something used for printing and images don't need an inherent measure of DPI. test-000.jpg JPEG 2500x1961 2500x1961+0+0 8-bit DirectClass 1.022MB 0.000u 0:00.000ġ) Windows has these too, but the script would be different of course.Ģ) Note that images don't really carry DPI information. This would give you the original size of all the contained images of that PDF 2.Įxample output for a PDF file that only contains one big image. The output files are written to test-000.jpg, test-001.jpg, et cetera. name "test*.jpg") do identify "$file" done On *nix, if you have ImageMagick's identify and Xpdf installed 1: pdfimages -j test.pdf test & for file in $(find.
I know that you don't want to extract the image data, but this is probably the only way to find out the original resolution.