Page size from PDF

Darren Sheppard <[email protected]> Wed, 15 Apr 2009 16:35:48 +0100
Newsgroups gmane.comp.video.image-magick.devel
Message-ID <[email protected]>
Hi

I have around 7000 PDF documents all with different page sizes within  
the same document. Is there anyway that image magick could extract all  
the page sizes from the PDFs and pass this Data into a text file?

Kind regards

-Darren