Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Commit

Permalink
Pass --disable-embed-rasters to scour
Browse files Browse the repository at this point in the history
By default, scour embeds raster images (e.g. referenced PNG images) into the SVG image to make the SVG stand-alone.  Unsurprisingly, this tend to make images larger than they were before regardless of how well the SVG cleaner actually work.
  • Loading branch information
nthykier committed Jul 15, 2018
1 parent a80017f commit 3c56ce4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/stats/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ fn clean_with_scour(exe_path: &str, in_path: &str, out_path: &str) -> bool {
.arg("--remove-titles")
.arg("--remove-descriptions")
.arg("--remove-metadata")
.arg("--disable-embed-rasters")
.output();

match res {
Expand Down

0 comments on commit 3c56ce4

Please sign in to comment.