Skip to content

Instantly share code, notes, and snippets.

@abingham
Created February 23, 2017 13:47
Show Gist options
  • Save abingham/21ae7f602b96793846eb09b326d5bfac to your computer and use it in GitHub Desktop.
Save abingham/21ae7f602b96793846eb09b326d5bfac to your computer and use it in GitHub Desktop.
Script to trim whitespace from around an SVG using inkscape
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