We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Requires Python 2.7
Example of use:
from cleanSVG import CleanSVG svg = CleanSVG("test.svg") # Read file test.svg svg.removeAttributes('id') # Remove all id attributes svg.setDecimalPlaces(1) # Round numbers to 1 decimal place svg.extractStyles() # Replace style attributes with CSS svg.applyTransforms() # Apply transform attributes to coordinates svg.write("cleaned-test.svg") # Output modified file test.svg