First stab at simplifying SVG files

This commit is contained in:
Adam Goldsmith 2017-08-03 18:14:48 -04:00
parent 7613bfcab9
commit 48a98cdc0e
8 changed files with 3026 additions and 24710 deletions

View File

@ -29,7 +29,7 @@ def setText(tree, id, text):
for line in lines:
etree.SubElement(element, "{http://www.w3.org/2000/svg}flowPara").text=line
else:
element[0].text = str(text)
element.text = str(text)
def removeElement(tree, id):
mark = tree.find('.//*[@id="' + id + '"]')

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 409 KiB

After

Width:  |  Height:  |  Size: 278 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 492 KiB

After

Width:  |  Height:  |  Size: 332 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 3.0 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 84 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 360 KiB

After

Width:  |  Height:  |  Size: 332 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 74 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 44 KiB