First stab at simplifying SVG files
@ -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 + '"]')
|
||||
|
Before Width: | Height: | Size: 409 KiB After Width: | Height: | Size: 278 KiB |
3196
images/hero/card.svg
Before Width: | Height: | Size: 492 KiB After Width: | Height: | Size: 332 KiB |
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 360 KiB After Width: | Height: | Size: 332 KiB |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 44 KiB |