Skip to main content

Scour SVG Optimizer

Project description

# Scour

Scour is a Python module that takes an input SVG and outputs a cleaner, more concise SVG file. The goal is that authors will use this script after editing the file in a GUI editor such as Inkscape or Adobe Illustrator.

Scour was started as a vehicle for me to learn Python. In addition, the goal is to reduce the amount of time I spend in cleaning up files I find on sites such as openclipart.org

Ideas are pulled from three places:

Regards,

Jeff Schiller, 2009-04-06

codedread@gmail.com

http://blog.codedread.com/

http://www.codedread.com/scour/

## Usage

Standard:

scour -i mysvg.svg -o mysvg_opt.svg

Better (this works in IE which needs Viewbox):

scour -i mysvg.svg -o mysvg_opt.svg –enable-viewboxing

Maximum:

scour -i mysvg.svg -o mysvg_opt.svg –enable-viewboxing –enable-id-stripping

–enable-comment-stripping –shorten-ids –indent=none

Maximum + Compress:

scour -i mysvg.svg -o mysvg_opt.svgz –enable-viewboxing –enable-id-stripping

–enable-comment-stripping –shorten-ids –indent=none

## Notes

Packaging from [sources](http://www.codedread.com/scour/) retrieved on 2013/20/22:

  • done by Tavendo GmbH, Tobias Oberstein

  • license same as upstream (Apache 2.0)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scour-0.26.zip (43.7 kB view details)

Uploaded Source

Built Distributions

scour-0.26.win32.exe (276.3 kB view details)

Uploaded Source

scour-0.26-py2.7.egg (79.5 kB view details)

Uploaded Source

File details

Details for the file scour-0.26.zip.

File metadata

  • Download URL: scour-0.26.zip
  • Upload date:
  • Size: 43.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scour-0.26.zip
Algorithm Hash digest
SHA256 00706f37117eae3d4ec71b7b74c1b32bba6aac0c8661979e68ac9583213ad098
MD5 57a3f50f88a977128c92de52f6b3a84c
BLAKE2b-256 3c3311f245c32fc0e8de723a20fb9fcf1ba3459ea109f3513ace91fa3c00f61a

See more details on using hashes here.

File details

Details for the file scour-0.26.win32.exe.

File metadata

  • Download URL: scour-0.26.win32.exe
  • Upload date:
  • Size: 276.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scour-0.26.win32.exe
Algorithm Hash digest
SHA256 4cd649478f148ea52b58173c6d8545588924a94441d7f8dd970f80ad3015df63
MD5 be7429b2e05639e0f1df1872c3f1184f
BLAKE2b-256 def0d4416335b9e004ee50840b8ee91c2d53a2ac3615ea9e09b2f60fa598c21c

See more details on using hashes here.

File details

Details for the file scour-0.26-py2.7.egg.

File metadata

  • Download URL: scour-0.26-py2.7.egg
  • Upload date:
  • Size: 79.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scour-0.26-py2.7.egg
Algorithm Hash digest
SHA256 8a9b618e7f1dba660a585c45979de388e9400e063a69b1a66f648dd50dd22a1e
MD5 c31e4b968c8ba6a9d3209249fb7a836c
BLAKE2b-256 27141d31cb4e9f29e1f1ebcea406dd8ac7858c495326d39996a46ca601669a57

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page