All Projects → scour-project → Scour

scour-project / Scour

Licence: apache-2.0
Scour - An SVG Optimizer / Cleaner

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Scour

Macsvg
macSVG - An open-source macOS app for designing HTML5 SVG (Scalable Vector Graphics) art and animation with a WebKit web view ➤➤➤
Stars: ✭ 789 (+78.1%)
Mutual labels:  graphics, vector-graphics, svg
Picasso
Picasso is a high quality 2D vector graphic rendering library. It support path , matrix , gradient , pattern , image and truetype font.
Stars: ✭ 205 (-53.72%)
Mutual labels:  graphics, vector-graphics, svg
Svg.skia
An SVG rendering library.
Stars: ✭ 122 (-72.46%)
Mutual labels:  graphics, vector-graphics, svg
Gerbolyze
Render high-resolution bitmap images to PCB gerber files
Stars: ✭ 169 (-61.85%)
Mutual labels:  graphics, vector-graphics, svg
Svglib
Read SVG files and convert them to other formats.
Stars: ✭ 139 (-68.62%)
Mutual labels:  graphics, vector-graphics, svg
Compose.jl
Declarative vector graphics
Stars: ✭ 196 (-55.76%)
Mutual labels:  graphics, vector-graphics
Gooey React
The gooey effect for React, used for shape blobbing / metaballs (0.5 KB) 🧽
Stars: ✭ 219 (-50.56%)
Mutual labels:  graphics, svg
Graphics32
Graphics32 is a graphics library for Delphi and Lazarus. Optimized for 32-bit pixel formats, it provides fast operations with pixels and graphic primitives. In most cases Graphics32 considerably outperforms the standard TBitmap/TCanvas methods.
Stars: ✭ 238 (-46.28%)
Mutual labels:  graphics, vector-graphics
Oblivion
The language of Art
Stars: ✭ 414 (-6.55%)
Mutual labels:  graphics, svg
Wechart
Create all the [ch]arts by cax or three.js - Cax 和 three.js 创造一切图[表]
Stars: ✭ 152 (-65.69%)
Mutual labels:  graphics, svg
Rough
Create graphics with a hand-drawn, sketchy, appearance
Stars: ✭ 16,472 (+3618.28%)
Mutual labels:  graphics, svg
Svgcleaner
svgcleaner could help you to clean up your SVG files from the unnecessary data.
Stars: ✭ 1,297 (+192.78%)
Mutual labels:  cleaner, svg
Oshmi
SCADA HMI for substations and automation applications.
Stars: ✭ 180 (-59.37%)
Mutual labels:  graphics, svg
Pts
A library for visualization and creative-coding
Stars: ✭ 4,628 (+944.7%)
Mutual labels:  graphics, svg
Php Svg
Vector graphics (SVG) library for PHP
Stars: ✭ 256 (-42.21%)
Mutual labels:  vector-graphics, svg
Svg Autocrop
🚗🌽🔳An NPM module to autocrop and slim down SVGs
Stars: ✭ 80 (-81.94%)
Mutual labels:  cleaner, svg
falcon
A WordPress cleanup and performance optimization plugin.
Stars: ✭ 17 (-96.16%)
Mutual labels:  optimizer, cleaner
Mojs
The motion graphics toolbelt for the web
Stars: ✭ 17,189 (+3780.14%)
Mutual labels:  graphics, svg
Luxor.jl
Simple drawings using vector graphics; Cairo "for tourists!"
Stars: ✭ 293 (-33.86%)
Mutual labels:  graphics, vector-graphics
Plutovg
Tiny 2D vector graphics library in C
Stars: ✭ 141 (-68.17%)
Mutual labels:  graphics, svg

Scour

PyPIBuild status Codecov


Scour is an SVG optimizer/cleaner that reduces the size of scalable vector graphics by optimizing structure and removing unnecessary data written in Python.

It can be used to create streamlined vector graphics suitable for web deployment, publishing/sharing or further processing.

The goal of Scour is to output a file that renderes identically at a fraction of the size by removing a lot of redundant information created by most SVG editors. Optimization options are typically lossless but can be tweaked for more agressive cleaning.

Scour is open-source and licensed under Apache License 2.0.

Scour was originally developed by Jeff "codedread" Schiller and Louis Simard in in 2010. The project moved to GitLab in 2013 an is now maintained by Tobias "oberstet" Oberstein and Patrick "Ede_123" Storz.

Installation

Scour requires Python 2.7 or 3.4+. Further, for installation, pip should be used.

To install the latest release of Scour from PyPI:

pip install scour

To install the latest trunk version (which might be broken!) from GitHub:

pip install https://github.com/codedread/scour/archive/master.zip

Usage

Standard:

scour -i input.svg -o output.svg

Better (for older versions of Internet Explorer):

scour -i input.svg -o output.svg --enable-viewboxing

Maximum scrubbing:

scour -i input.svg -o output.svg --enable-viewboxing --enable-id-stripping \
  --enable-comment-stripping --shorten-ids --indent=none

Maximum scrubbing and a compressed SVGZ file:

scour -i input.svg -o output.svgz --enable-viewboxing --enable-id-stripping \
  --enable-comment-stripping --shorten-ids --indent=none
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].