I have many hundreds of small PDF images (created in Adobe Illustrator) which will be inserted into a Latex document. I need to know the size of these images in real-world dimensions (e.g. 20mm x 14mm), or at least something that Latex can understand.
Is there a command line tool that can produce these dimensions? (I am running Mac OS X.)
A second best solution would some way for Latex to extract the dimensions.
[I have tried pdftk, but its data dump command only seems to tell me the number of pages (1).]