how to query for document size from command line

18 Jun
2011
18 Jun
'11
11:03 a.m.
Hi,
Is there a command line option in inkscape that returns width and height of document's page? The closest I found is: inkscape --query-width picture.svg inkscape --query-height picture.svg but this returns width/height of drawing (which might be smaller/bigger than actual page).
I know that <svg> tag in svg file has width/height attribute so I guess there should be appropriate inkscape query for that.
Thanks Marcin
5016
Age (days ago)
5016
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marcin Mikosik