jkphl / iconizr

A PHP command line tool for converting SVG images to a set of CSS icons (SVG & PNG, single icons and / or CSS sprites) with support for image optimization and Sass output. Created by Joschi Kuphal (@jkphl), licensed under the terms of the MIT license
http://iconizr.com
MIT License
485 stars 36 forks source link

scour-optimized SVGs not as small as possible #1

Closed jkphl closed 11 years ago

jkphl commented 11 years ago

scour doesn't produce the smallest possible SVG files. They still contain the XML prolog as well as line breaks, which could be omitted.

jkphl commented 11 years ago

Starting with Beta 2, all SVG files undergo an experimental post-processing stage which (amongst others) eliminates unnecessary line breaks as well as the optional XML prolog.