<div dir="ltr"><div><div><div><div><div><div><div>I don't need to know about the resolution of the images, I need to:<br><br></div> - check to see if the ad file exists<br></div> - get the dimensions of the ad's trim box<br></div> - compare the physical size of the ad to its booked size using a lookup table <br></div> - add a line to a table w/ the results<br><br></div>TeX was the only tool which allowed me to do _all_ of those things w/ a single tool.<br><br></div>A CLI tool which reports on physical ad size still has to be supported by a bunch of other tools and adds a lot of overhead.<br><br></div>The only (minor) problem w/ using TeX is that it embeds the .pdf for each ad even though it's never used, only measured --- is there a way to release that memory?<br><br>William<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 30, 2014 at 8:57 PM, William F Hammond <span dir="ltr"><<a href="mailto:hmwlfsr@yahoo.com" target="_blank">hmwlfsr@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
pdfimages foo.pdf<br>
<br>
   will extract copies of the images.<br>
<br>
pdfimages -list foo.pdf<br>
<br>
   will provide information, including pixel size, about the images<br>
   without extracting the images.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
                              -- Bill<br>
<br>
<br>
Email: <a href="mailto:hmwlfsr@yahoo.com">hmwlfsr@yahoo.com</a><br>
       <a href="mailto:gellmu@gmail.com">gellmu@gmail.com</a><br>
<a href="https://www.facebook.com/william.f.hammond" target="_blank">https://www.facebook.com/william.f.hammond</a><br>
<a href="http://www.albany.edu/~hammond/" target="_blank">http://www.albany.edu/~hammond/</a><br>
</div></div></blockquote></div><br></div>