Created
February 23, 2017 13:47
-
-
Save abingham/21ae7f602b96793846eb09b326d5bfac to your computer and use it in GitHub Desktop.
Script to trim whitespace from around an SVG using inkscape
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inkscape --verb=FitCanvasToDrawing --verb=FileSave --verb=FileQuit $1 | |
# inkscape --export-height=75 --export-png=$1.png $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment