Scour SVG Optimizer
Scour is a Python-based SVG optimization tool predating SVGO, still used in some Python-centric asset pipelines today.
Drop your image here
Supports PNG, JPG, BMP, WEBP up to 5MB
Scour's Role in Python-Based Pipelines
Scour is a command-line SVG optimizer written in Python, making it a natural fit for build pipelines already centered on Python tooling rather than Node.js, and it performs many of the same core optimizations as SVGO, like removing unnecessary metadata, comments, and redundant precision in path data.
- Scour is Python-based, fitting naturally into Python-centric build pipelines
- Avoids introducing a Node.js dependency purely for SVG optimization
- Performs core optimizations like removing metadata, comments, and excess precision
Basic Scour Command-Line Usage
Running scour -i input.svg -o output.svg optimizes a single file, with flags like --enable-viewboxing and --set-precision controlling specific optimization behaviors, giving Python-based projects a way to integrate SVG cleanup directly into an existing Python asset pipeline without adding a separate JavaScript toolchain.
- The basic command form is scour -i input.svg -o output.svg
- Flags like --enable-viewboxing and --set-precision control specific behaviors
- Integrates SVG cleanup into an existing Python pipeline without a JS toolchain
Frequently Asked Questions
Is Scour still actively used compared to SVGO?
SVGO is more widely adopted for modern JavaScript-centric projects, but Scour remains a reasonable choice for teams already standardized on Python-based build tooling.
Does Scour support the same optimizations as SVGO?
Scour covers many of the same core optimizations like metadata removal and path precision reduction, though SVGO's plugin ecosystem is generally more extensive.
Related guides
Ready to Convert Your Image to SVG?
Free online converter — no sign-up, no watermarks, results in under 3 seconds.
Try It Free — Convert Image to SVG