1 | initial version |
The command to extract the page dimensions (width and height) of an SVG file using Inkscape command-line interface (cli) is:
inkscape --query-width /path/to/file.svg
This command will give you the width of the SVG file in pixels.
Similarly, you can use the following command to get the height of the SVG file:
inkscape --query-height /path/to/file.svg
Both of these commands will output the dimensions in pixels.