Svgcleaner Versions Save

svgcleaner could help you to clean up your SVG files from the unnecessary data.

v0.9.5

6 years ago

GUI can be downloaded here.

Added

  • Removal of the transform attribute with a default value.

Changed

  • A default Transform will be printed as matrix(1 0 0 1 0) and not as an empty string.

Fixed

  • Attributes resolving during the defs regrouping.
  • Text with xml:space preprocessing.

v0.9.4

6 years ago

Fixed

  • Crash during defs processing.
  • Crash during use resolving.
  • The --resolve-use option does not resolve used use now.

GUI can be downloaded here.

v0.9.3

6 years ago

Added

  • --list-separator.
  • The marker attribute removing.

Changed

  • Attributes with inherit or currentColor values and without a proper parent is an error now.

Fixed

  • Groups removing with transform and non-SVG child.
  • Transform to path applying when a path has a style defined in a parent element.
  • Multipass with --join-style-attributes.
  • Paths preprocessing.

GUI can be downloaded here.

v0.9.2

6 years ago

Added

  • --group-by-style can group two nodes now.
  • --group-by-style can group into svg now.
  • defs element is always the first child of an svg now.

Fixed

  • Groups ungrouping inside a switch element.
  • Complex groups ungrouping.
  • --group-by-style recursive processing.
  • Crash if path has an implicit MoveTo after ClosePath.
  • --remove-unresolved-classes option had no effect.

GUI can be downloaded here.

v0.9.1

6 years ago

Fixed

  • transform grouping in --group-by-style.

Other

GUI can be downloaded here.

v0.9.0

6 years ago

Added

  • XML nodes can be indented with tabs now. Using --indent=tabs.
  • Presentational attributes joining can be forced with --join-style-attributes=all now.
  • stdin and stdout support.
  • --no-defaults.
  • --apply-transform-to-paths.
  • --allow-bigger-file.
  • --coordinates-precision.
  • --properties-precision.
  • --transforms-precision.
  • Better groups with transforms ungrouping.
  • --remove-text-attributes removes line-height and xml:space now.
  • Some algorithms are moved to the svgdom crate.

Changed

  • <FLAG> argument type accepts true, false, yes, no, y, n now.
  • Flags --multipass, --copy-on-error and --quiet doesn't accepts value now.
  • --indent accepts only none, 0, 1, 2, 3, 4, tabs now.
  • --join-style-attributes accepts only no, some, all now.

Fixed

  • Fixed stroke-dasharray and stroke-dashoffset processing during transformations applying.

Downloads

v0.8.1

7 years ago

Added

  • --group-by-style can group by transform now.
  • --remove-needless-attributes and --remove-default-attributes now supports overflow attribute.
  • svgcleaner can be used as a library now.

Fixed

  • Incorrect grouping in --group-by-style.
  • Gradients with one stop children processing in --remove-invisible-elements.

v0.8.0

7 years ago

Added

  • --use-implicit-cmds.
  • --convert-segments.
  • --resolve-use.
  • --paths-coordinates-precision.
  • --group-by-style.
  • --apply-transform-to-shapes.

Fixed

  • CLI arguments processing.

Removed

  • --move-styles-to-group. Use --group-by-style instead.

Other

  • Updated to the latest version of the libsvgdom.

v0.7.1

7 years ago

Added

  • Check that input file exist.
  • Remove invisible elements now removes default feColorMatrix element.
  • --remove-unresolved-classes.

Other

  • Updated to the latest version of the libsvgdom.

v0.7.0

7 years ago
  • Rewritten from C++ to Rust.
  • Implemented own SVG parser and SVG DOM.
  • ~3x faster.
  • Increased correctness. svgcleaner is lossless now.
  • ~5% smaller cleaning ratio as a cost for correctness.
  • Added a documentation for all cleaning options.
  • The GUI is in the separate repo now.