[cairo] Reducing PNG Image Size

Vladimir Vukicevic vladimir at pobox.com
Wed Sep 24 12:36:17 PDT 2008


On Sep 24, 2008, at 12:31 PM, Carl Worth wrote:
>
> I don't know what pngcrush might be doing, but certainly if you're
> willing to throw away some information you can generate a much smaller
> file size. See what happens with a lossy format like JPEG, for  
> example.

pngcrush essentially runs the compression algorithm with different  
settings for the various knobs (window size, etc., iirc), and then  
picks whatever the best results are.  It does a really good job, but  
it's an expensive process... you essentially end up recompressing the  
image around a dozen times.

     - Vlad



More information about the cairo mailing list