This means the PDF has only one distinct object defined, but showing it three times (i.e., the image is embedded only once, but appears on 3 pages). The PDF object IDs for all three images are identical: 16 0 (as indicated by columns 11+12, headed object + ID). There are three images on the three pages 2-4 (as indicated by columns 1+2, headed page and num). Here is the output for the above command, using an example PDF file I prepared specifically for this question (scroll horizontally to see all columns): page num type width height color comp bpc enc interp object ID x-ppi y-ppi size ratioĢ 0 image 697 1238 gray 1 8 jpeg no 16 0 320 320 142K 17%ģ 1 image 697 1238 gray 1 8 jpeg no 16 0 151 151 142K 17%Ĥ 2 image 697 1238 gray 1 8 jpeg no 16 0 84 115 142K 17% The output of above example command shows all images in the page range from 2 ( f irst page to show) to 4 ( l ast page to show). Recent Poppler versions let you use the -list option: pdfimages -list -f 2 -l 4 my.pdf ![]() However, you need a recent version pdfimages that is based on the Poppler library ( NOT the 'pdfimages' that is based on XPDF!) You can use a command line tool to get the info you need: pdfimages.
0 Comments
Leave a Reply. |