scour
scour copied to clipboard
Scour - An SVG Optimizer / Cleaner
Prozessing [File:Oxygen480-mimetypes-image-vnd.dwg.svg](https://commons.wikimedia.org/wiki/File:Oxygen480-mimetypes-image-vnd.dwg.svg) with > $ scour -i [input.svg.txt](https://github.com/scour-project/scour/files/2215678/input.svg.txt) output.svg.txt --create-groups leads to nothing ---- [input_Output.svg.txt](https://github.com/scour-project/scour/files/2215678/input.svg.txt) Input/Output source-code ```svg ``` ---- [whish.svg.txt](https://github.com/scour-project/scour/files/2215679/whish.svg.txt) suggested output ```svg ``` ---- Copyright of the picture...
I would like to merge simple `` with `` Inputexample: ```svg 1 ``` Output: ```svg 1 ``` actually I am using (case-depended) following scripts: ```bash #tspan in tspan sed -ri...
On the SVG file: ```svg orbital dx2-y2 ``` scour will generate the following diff: ```diff $ diff -u ws-test.svg ws-test-out.svg --- ws-test.svg 2018-07-02 21:00:41.104866663 +0200 +++ ws-test-out.svg 2018-07-02 21:01:00.096867150 +0200...
scour on the current master branch fails to process several of the SVG 1.1 reference SVGs. Below is one of these failures: ``` Processing animate-elem-31-t.svg Traceback (most recent call last):...
I think the project at this stage, and looking forward, would profit from adding a larger set of real world SVG documents in CI - in addition to the existing,...
Processing a [file ](https://commons.wikimedia.org/wiki/File:%D0%A1%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%B0_%D0%B2%D0%B8%D1%80%D0%BE%D0%B1%D0%BD%D0%B8%D1%87%D0%B8%D1%85_%D0%B2%D1%96%D0%B4%D0%BD%D0%BE%D1%81%D0%B8%D0%BD.svg) with cyrillic chracters in the filename with: >$ scour [Система_виробничих_відносин.svg](https://upload.wikimedia.org/wikipedia/commons/7/72/%D0%A1%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%B0_%D0%B2%D0%B8%D1%80%D0%BE%D0%B1%D0%BD%D0%B8%D1%87%D0%B8%D1%85_%D0%B2%D1%96%D0%B4%D0%BD%D0%BE%D1%81%D0%B8%D0%BD.svg) output.svg lead to an errormessage: `IOError: [Errno 22] invalid mode ('rb') or filename: '???????_??????????_????????.svg'` ``` error...
The attached file was already ran through scour (0.25, default options). If you notice, it is an svn which is full of display="none" elements. The actual image is merely two...
Ok I re-thought the problem with precision. @Ede123 I think your right about the zero being arbitrary related to #136. This is not an attempt to waste your time and...
The original script had a `--remove-doctype` option [1], was it intentionally removed? [1] https://github.com/pwfisher/scour.py/blob/master/scour.py#L3183
Optimized SVGs with transforms on groups should have an option to remove that transform and apply it to the group's children, all while keeping the group intact.