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

Re: optimizing PNGs



On Sun, May 26, 2013 at 07:42:49PM +0200, Mathieu Malaterre wrote:
> On Sun, May 26, 2013 at 5:56 PM, Adam Borowski <kilobyte@angband.pl> wrote:
> > A while ago, someone raised the possibility of recompressing PNG files.
> > Unlike xz, this would save space not only on mirrors but also on live
> > installed systems.  PNGs are nearly incompressible so this is mostly
> > independent from xz.
> >
> > At least by number, there's a lot of PNG images:
> [...]
> >   22225 ns3-doc
> 
> This one is slightly different and should be treated differently IMHO.
> See `Subject: Ridiculously large packages`[1] on debian-cd, which got
> solved using SVG output when generating doxygen documentation.

Formats other than PNG might be more appropriate, yes.

> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557238

This one (vtk-doc) doesn't compress PNGs, but reduces their quality in a
lossy way to 256 colours.  And in this case, using optipng+advpng would
reduce the files by more than a half (comparing sizes of .tar.xz).

-- 
ᛊᚨᚾᛁᛏᚣ᛫ᛁᛊ᛫ᚠᛟᚱ᛫ᚦᛖ᛫ᚹᛖᚨᚲ


Reply to: