oversized icons in the distro

Matthias Clasen mclasen at redhat.com
Thu Jan 24 15:56:30 UTC 2008


On Thu, 2008-01-24 at 17:19 +0200, Nicu Buculei wrote:
> Martin Sourada wrote:
> > On Wed, 2008-01-23 at 16:46 -0500, Matthias Clasen wrote:
> >> Hey, so we are looking at the size of test1 live cd images right now (of
> >> course, things don't fit). One thing I notice is that some packages ship
> >> huge svg icons, like the following:
> >>
> >> 203094 /usr/share/gnome-power-manager/icons/hicolor/scalable/status/gpm-phone-030.svg
> >> 229993 /usr/share/gnome-power-manager/icons/hicolor/scalable/status/gpm-phone-000.svg
> >> 274693 /usr/share/gnome-power-manager/icons/hicolor/scalable/status/gpm-keyboard-030.svg
> >> 284391 /usr/share/gnome-power-manager/icons/hicolor/scalable/status/gpm-phone-060.svg
> >> 287861 /usr/share/gnome-power-manager/icons/hicolor/scalable/status/gpm-phone-100.svg
> >>
> >> I wonder if this list has the expertise and knows the tools to reduce
> >> excess details in svgs like those ?
> >>
> > Try inkscape's vacuum defs (inkscape --vacuum-defs FILE). For example
> > for gmp-phone-030.svg it crops the size from 198.3 KB to 47.9 KB...
> 
> Yeah, I did the same: gpm-phone-100.svg decreased from 281.1 KB to 56.4 
> KB after vacuum defs and to 48.6 after saving as plain svg.
> 
> I will do a vacuum defs to all files and post it back.
> 

Hey, thats a pretty significant bloat reduction, thanks. 
If you can cc Richard Hughes or gnome-power-manager-list at gnome.org, I'm
sure he'll appreciate it.

Matthias




More information about the Fedora-art-list mailing list