Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need a piece of software (a freeware preferably) that will display what is the pixel width / height of a pdf page. If there are many pages with different dimensions, I'd be enough to just get the first page dimensions. I've tested pdftk and it appears that the program lacks the feature I want.

share|improve this question

1 Answer 1

One solution would be to convert the PDF into pictures and then get width and height of the pictures. For conversion I used PDF-Viewer and for getting width and height identify from ImageMagick. You might want to use convert from ImageMagick to do it completely from command line, however this did not succeed here.

C:\Users\gentlesea\Documents\PDFToImageTest>identify test.png test.png PNG 2479x3508 2479x3508+0+0 8-bit DirectClass 186KB 0.000u 0:00.000

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.