List Info

Thread: Including scalable icons to improve size coverage




Including scalable icons to improve size coverage
user name
2007-04-16 21:18:48
Today I looked at shipping svgs with echo-icon-theme to
improve the
coverage and avoid size gaps where we don't have hand-tuned
small sizes
yet. 

Unfortunately, doing this blows up the size of the tarball
to 70M (after
bzipping !). Looking at some of the large (>500k) icons,
I notice a
couple of things:

a) they seem to mostly be created with Illustrator

b) they include a jpeg thumbnail

c) they include a huge binary chunk called  
   <i:pgf id="adobe_illustrator_pgf">


It would be very valuable if someone could work on a little
script to 
get rid of the thumbnails and the illustrator-specific
stuff. That 
should allow us to shrink the svgs _a lot_ and make it
possible to
include them in the package, which is not possible as things
stand right
now.


Matthias

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


Re: Including scalable icons to improve size coverage
user name
2007-04-16 17:23:16
Matthias Clasen wrote:
> It would be very valuable if someone could work on a
little script to 
> get rid of the thumbnails and the illustrator-specific
stuff. That 
> should allow us to shrink the svgs _a lot_ and make it
possible to
> include them in the package, which is not possible as
things stand right
> now.

I wrote the script you asked for. It removes the following
elements:
i:pgf (where the ID is "adobe_illustrator_pgf"),
i:pgfRef and xmpmet
a. 
Attached is a trimmed version of one of the icons (416k to
18k) . People 
should check it works on their svg tool before you start
compressing icons.

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


  
  
Re: Including scalable icons to improve size coverage
user name
2007-04-17 00:49:48
On Mon, 2007-04-16 at 23:23 +0100, Charlie Brej wrote:
> Matthias Clasen wrote:
> > It would be very valuable if someone could work on
a little script to 
> > get rid of the thumbnails and the
illustrator-specific stuff. That 
> > should allow us to shrink the svgs _a lot_ and
make it possible to
> > include them in the package, which is not possible
as things stand right
> > now.
> 
> I wrote the script you asked for. It removes the
following elements:
> i:pgf (where the ID is
"adobe_illustrator_pgf"), i:pgfRef and xmpmet
a. 
> Attached is a trimmed version of one of the icons (416k
to 18k) . People 
> should check it works on their svg tool before you
start compressing icons.

Thanks, that looks encouraging.

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


Re: Including scalable icons to improve size coverage
user name
2007-04-17 01:07:09
Quoting Charlie Brej <fedora-artbrej.org>:

> Matthias Clasen wrote:
> > It would be very valuable if someone could work on
a little script to
> > get rid of the thumbnails and the
illustrator-specific stuff. That
> > should allow us to shrink the svgs _a lot_ and
make it possible to
> > include them in the package, which is not possible
as things stand right
> > now.
>
> I wrote the script you asked for. It removes the
following elements:
> i:pgf (where the ID is
"adobe_illustrator_pgf"), i:pgfRef and xmpmet
a.
> Attached is a trimmed version of one of the icons (416k
to 18k) . People
> should check it works on their svg tool before you
start compressing icons.
>

Thank you. I will try it later.

-- 
Luya Tshimbalanga
Fedora Project contributor
ht
tp://www.fedoraproject.org/wiki/LuyaTshimbalanga

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


Re: Including scalable icons to improve size coverage
user name
2007-04-17 01:19:20
Quoting Matthias Clasen <mclasenredhat.com>:

> Today I looked at shipping svgs with echo-icon-theme to
improve the
> coverage and avoid size gaps where we don't have
hand-tuned small sizes
> yet.
>

Great. That should reduce some tasks until these svgs icons
have their own png
small size. I am also considering some of them (especially
the 24x24 who are
identical to their larger formats).


> Unfortunately, doing this blows up the size of the
tarball to 70M (after
> bzipping !). Looking at some of the large (>500k)
icons, I notice a
> couple of things:
>
> a) they seem to mostly be created with Illustrator
>
> b) they include a jpeg thumbnail
>

Surprising. Maybe converting them using Gimp should do the
trick.

> c) they include a huge binary chunk called
>    <i:pgf id="adobe_illustrator_pgf">
>
Which explains longer loading page.




-- 
Luya Tshimbalanga
Fedora Project contributor
ht
tp://www.fedoraproject.org/wiki/LuyaTshimbalanga

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


Re: Including scalable icons to improve size coverage
user name
2007-04-17 00:28:08
On Tue, 2007-04-17 at 02:07 -0400, Luya Tshimbalanga wrote:
> Quoting Charlie Brej <fedora-artbrej.org>:
> 
> > Matthias Clasen wrote:
> > > It would be very valuable if someone could
work on a little script to
> > > get rid of the thumbnails and the
illustrator-specific stuff. That
> > > should allow us to shrink the svgs _a lot_
and make it possible to
> > > include them in the package, which is not
possible as things stand right
> > > now.
> >
> > I wrote the script you asked for. It removes the
following elements:
> > i:pgf (where the ID is
"adobe_illustrator_pgf"), i:pgfRef and xmpmet
a.
> > Attached is a trimmed version of one of the icons
(416k to 18k) . People
> > should check it works on their svg tool before you
start compressing icons.
> >
> 
> Thank you. I will try it later.
> 

I've used Charlies script and included svgs in yesterdays
echo snapshot.
Please give it a try.

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


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )