Remove XML heared and line breaks in SVG files.
My suggestion for further SVG optimiztion - as mentioned in #5229 Signed-off-by: Marin Treselj <marin@pixelipo.com>
This commit is contained in:
parent
ca3c69c8ae
commit
843f0ec6ad
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ jpegoptim --strip-all *.jpg;
|
|||
for svg in `ls *.svg`;
|
||||
do
|
||||
mv $svg $svg.opttmp;
|
||||
scour -i $svg.opttmp -o $svg --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata;
|
||||
scour -i $svg.opttmp -o $svg --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata --strip-xml-prolog --no-line-breaks;
|
||||
done;
|
||||
rm *.opttmp
|
||||
for dir in `ls -d */`;
|
||||
|
|
Loading…
Reference in a new issue