Optimize SVG
optimize_svgClean up and optimize SVG files using SVGO while preserving layer IDs and viewBox. Write the optimized SVG back to the original or a specified output path.
Instructions
Run svgo to clean up an SVG while preserving layer ids and viewBox. Writes back to svg_path (or output_path).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg_path | Yes | ||
| output_path | No |