scour
scour copied to clipboard
Scour - An SVG Optimizer / Cleaner
animate/attributeName/d needs special treatment to keep node counts equal
The project needs proper documentation. Current consensus is that - using [Sphinx](http://sphinx-doc.org/) to create the documentation and - publishing the result on [Read the Docs](https://readthedocs.org/) would be the preferred way...
# original svg-file The original file is described at https://en.wikipedia.org/wiki/File:Comparison_gender_life_expectancy_CIA_factbook.svg  ## minimal input ```xml India ``` ## output ```xml India ``` ## comparision |input|output(offset)| |---|---| ||| ## copyright source...
Iam not sure if Inkscape creates invalid svgs or what exactly happened. ```svg ``` log ``` File "symbconv\export.py", line 32, in optimize_svg scour.start(options, in_file, out_file) File "scour\scour.py", line 4152, in...
Currently optparse is used and deprecated and stopped developing since 2011. Also the options should be moved to a `dict`, it is a hassle to work with `optparse.Values` in third-party...
This PR solves #274
## Input  ## Output  ## Copyright source https://commons.wikimedia.org/wiki/File:SVG_Text_Chunk.svg author Glrx & JoKalliauer license CC-BY-SA 3.0
[both.svg.txt](https://github.com/RazrFalcon/resvg/files/6248564/both.svg.txt) contains several duplicate useless clipPath (>100KB), I would like to merge them ### input ```xml ``` ### output ```xml ``` ## Copyright source: https://commons.wikimedia.org/wiki/File:India_roadway_map.svg author: CC-by-sa [PlaneMad](https://en.wikipedia.org/wiki/User:Planemad)/Wikimedia license: CC...
### Input [Text4CS.svg.txt](https://github.com/scour-project/scour/files/6246443/Text4CS.svg.txt) ```xml 8 º ``` ### Desired output ```xml 8 º ``` ### Copyright source: https://commons.wikimedia.org/wiki/File:India_roadway_map.svg author: CC-by-sa PlaneMad/Wikimedia License https://creativecommons.org/licenses/by-sa/3.0/
Prozessing [File:Wing_camber_and_aileron_FAA_GFH.svg](https://commons.wikimedia.org/wiki/File:Wing_camber_and_aileron_FAA_GFH.svg) breaks the file. scour [Input.svg.txt](https://github.com/scour-project/scour/files/2896595/Input.svg.txt) [Output.svg.txt](https://github.com/scour-project/scour/files/2896596/Output.svg.txt) # Input ```svg ```  # Output ```svg ``` # Difference  Rendering in Firefox ![screenshot 2019-02-23 08...