This repository was archived by the owner on Oct 30, 2021. It is now read-only.
Repository navigation
Releases
Releases · RazrFalcon/svgcleaner
v0.9.5
GUI can be downloaded here.
Added
- Removal of the
transformattribute with a default value.
Changed
- A default
Transformwill be printed asmatrix(1 0 0 1 0)and not as an empty string.
Fixed
- Attributes resolving during the
defsregrouping. - Text with
xml:spacepreprocessing.
v0.9.4
Fixed
- Crash during
defsprocessing. - Crash during
useresolving. - The
--resolve-useoption does not resolve usedusenow.
GUI can be downloaded here.
v0.9.3
Added
--list-separator.- The
markerattribute removing.
Changed
- Attributes with
inheritorcurrentColorvalues 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
Added
--group-by-stylecan group two nodes now.--group-by-stylecan group intosvgnow.defselement is always the first child of ansvgnow.
Fixed
- Groups ungrouping inside a
switchelement. - Complex groups ungrouping.
--group-by-stylerecursive processing.- Crash if path has an implicit MoveTo after ClosePath.
--remove-unresolved-classesoption had no effect.
GUI can be downloaded here.
v0.9.1
Fixed
transformgrouping in--group-by-style.
Other
- Includes svgdom 0.6.0 fixes.
- Includes svgparser 0.4.1 fixes.
GUI can be downloaded here.
v0.9.0
Added
- XML nodes can be indented with tabs now. Using
--indent=tabs. - Presentational attributes joining can be forced with
--join-style-attributes=allnow. - 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-attributesremovesline-heightandxml:spacenow.- Some algorithms are moved to the
svgdomcrate.
Changed
<FLAG>argument type acceptstrue,false,yes,no,y,nnow.- Flags
--multipass,--copy-on-errorand--quietdoesn't accepts value now. --indentaccepts onlynone,0,1,2,3,4,tabsnow.--join-style-attributesaccepts onlyno,some,allnow.
Fixed
- Fixed
stroke-dasharrayandstroke-dashoffsetprocessing during transformations applying.
v0.8.1
Added
--group-by-stylecan group bytransformnow.--remove-needless-attributesand--remove-default-attributes
now supportsoverflowattribute.- svgcleaner can be used as a library now.
Fixed
- Incorrect grouping in
--group-by-style. - Gradients with one
stopchildren processing in--remove-invisible-elements.
v0.8.0
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-styleinstead.
Other
- Updated to the latest version of the libsvgdom.
v0.7.1
Added
- Check that input file exist.
- Remove invisible elements now removes default
feColorMatrixelement. --remove-unresolved-classes.
Other
- Updated to the latest version of the libsvgdom.
v0.7.0
- 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.