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.
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