Re: [Echo Icons] help needed in cleaning SVG icons.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-08-23 at 23:13 +0200, Nicolas Mailhot wrote:
> Le jeudi 23 août 2007 à 23:00 +0200, Martin Sourada a écrit :
> > Can your script be run easily on all icons (I mean
> > something like ./svg_cleanup /path/to/Echo/scalable/*/*.svg)?
> 
> My original message has a loop example :
> 
> mkdir /tmp/svgtest
> for svg in $(find /usr/share/icons/Echo/scalable -name "*.svg" -type f) ; do xsltproc -o /tmp/svgtest/$svg svg-cleanup.xsl $svg ; done
> 
> This will generate a copy of the /usr/share/icons/Echo/scalable tree
> in /tmp/svgtest with every icon scrubbed. As xslt is very much a single
> file transformation language you need a wrapper (shell in this case) to
> automate multiple file processing
> 
That's exactly what I was talking about. If you add the other things I
talked about (vacuum defs and removal of display:none layers) it could
be run regularly to keep the sizes as small as possible :)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Fedora-art-list mailing list
Fedora-art-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-art-list

[Index of Archives]     [Fedora Music]     [Fedora Development]     [Linux Kernel]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux