Results 1 to 3 of 3

Thread: I'm looking for the best free implementation of deflate

  1. #1
    Member caveman's Avatar
    Join Date
    Jul 2009
    Location
    Strasbourg, France
    Posts
    190
    Thanks
    8
    Thanked 62 Times in 33 Posts

    I'm looking for the best free implementation of deflate

    Hello,
    I'm trying to write an application for webdesigners that should produce the smallest PNG files and GZipped CSS or JavaScript files (.css.gz .js.gz).
    The problem is that the best deflate implementatin I've found is the one included in KZIP and PNGOUT by Ken Silverman (closed source, and he has commercial interests in the PNGOUTWin app), zlib and even the deflate found in 7-zip are far from producing equivalent deflate streams.
    Is there another state of the art deflate implementation I could use?
    Any developpers around who would like to spend some time improving the current ones?

  2. #2
    Expert
    Matt Mahoney's Avatar
    Join Date
    May 2008
    Location
    Melbourne, Florida, USA
    Posts
    3,255
    Thanks
    306
    Thanked 778 Times in 485 Posts
    kzip is the best in my benchmark. http://mattmahoney.net/dc/text.html
    But as you can see, there is not much difference between kzip, gzip, gziphack, info-zip, jar, and peazip, which all use deflate.

  3. #3
    Member
    Join Date
    Feb 2010
    Location
    Nordic
    Posts
    200
    Thanks
    41
    Thanked 36 Times in 12 Posts
    You could move this one step further up - optimise the css and minimise the js before compression, then use a good-but-not-kzip e.g. 7zip. For PNG, why not just use PNGOUT as-is in binary form? And the same for KZIP?

Similar Threads

  1. Move-to-Front Implementation
    By Cyan in forum Data Compression
    Replies: 34
    Last Post: 8th August 2010, 01:11
  2. DEFLATE/zlib implementations
    By GerryB in forum Data Compression
    Replies: 10
    Last Post: 7th May 2009, 17:03
  3. deflate model for paq8?
    By kaitz in forum Data Compression
    Replies: 2
    Last Post: 6th February 2009, 21:48
  4. Free software to support RARv3
    By lunaris in forum Data Compression
    Replies: 11
    Last Post: 21st January 2009, 20:13
  5. Interesting Deflate source
    By encode in forum Forum Archive
    Replies: 10
    Last Post: 21st April 2008, 15:30

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •