Skip to content

juanfran/svgo-inkscape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVGO-inkscape

This is an extension to save and optimize SVG files with SVGO at Inkscape, it is an alternative to the already implemented optimization Tool: scour

The default Inkscape SVG files produces a lot of inkscape metadata for edition purposes since SVG is the default file extension at inkscape. Using SVGO we can remove a lot of redundant and useless information such as editor metadata, comments, hidden elements, default or unknown values and other stuff that can be removed or converted often without affecting SVG rendering result.

Warning for using optimizers

optimizing svg can lead to server damage

  • it often breaks svgs (e.g. svgo has 200 open bugs-reports)
  • svgo is in all fair benchmarks the worst in breaking svgs, see e.g. benchmark by svgcleaner
  • removing editor metadata can be a copyright violation if resharing others work
  • removing comments, can make manual editing of the file more difficult
  • removing hidden elements, removes deactivated layers
  • removing unknown and invalid values, removes helpfull editor-data, such as grids or removes the ability to edit arcs in inkscape, other unknown inkscape-attributes will break the inkscape behavior (see e.g. invalid elements that should be kept)

Download

SVGO inkscape for Linux 64bits Download

SVGO inkscape for Windows 64bits Download

SVGO inkscape for Mac 64bits Download

Install

Download and uncompress, copy the content inside the uncompresed folder (svgo-inkscape-windows64, svgo-inkscape-linux64 or svgo-inkscape-mac64) to your Inkscape extension folder.

For Linux

~/.config/inkscape/extensions

For Windows

C:\Program Files\Inkscape\share\inkscape\extensions\

Then, you will be able to save your files as 'Optimized with SVGO'

Save as -> Optimized with svgo (*.svg)