inkscape
An SVG (Scalable Vector Graphics) editing program. tldr-pages
On several platforms
Several platforms
An SVG (Scalable Vector Graphics) editing program. For Inkscape versions up to 0.92.x, use -e instead of -o.
Open an SVG file in the Inkscape GUI
inkscape path/to/file.svgIdentifyExport an SVG file into a bitmap with the default format (PNG) and the default resolution (96 DPI)
inkscape path/to/file.svg --export-filename path/to/file.pngIdentifyExport an SVG file into a bitmap of 600x400 pixels (aspect ratio distortion may occur)
inkscape path/to/file.svg --export-filename path/to/file.png --export-width 600 --export-height 400IdentifyExport the drawing (bounding box of all objects) of an SVG file into a bitmap
inkscape path/to/file.svg --export-filename path/to/file.png --export-area-drawingIdentifyExport a single object, given its ID, into a bitmap
inkscape path/to/file.svg --export-id object_id --export-filename object.pngIdentifyExport an SVG document to PDF, converting all texts to paths
inkscape path/to/file.svg --export-filename path/to/file.pdf --export-text-to-pathIdentifyDuplicate the object with id="path123", rotate the duplicate 90 degrees, save the file, and quit Inkscape
inkscape path/to/file.svg --select=path123 --verb="EditDuplicate;ObjectRotate90;FileSave;FileQuit"Identify