Flash Team

Just another flash weblog

Archive for February 16th, 2010

FZlib: Zlib in pure ActionScript

with 2 comments

FZlib is a port of Zlib 1.1.3 in ActionScript.

zlib is designed to be a free, general-purpose, legally unencumbered — that is, not covered by any patents — lossless data-compression library

Flash provides some ways to compress / uncompress data, but functions are basic. You can’t change the compression method, for instance, or handle a Zlib stream.

With FZlib, all the power of zlib could be unleashed in ActionScript!

FZlib features

  • No need to say that FZlib can inflate data, which is deflated by zlib (or ByteArray.compress()) and FZlib can generate deflated data, which is acceptable and is inflated by zlib (or ByteArray.uncompress()).
  • FZlib supports every compression level and every flushing mode in zlib.
  • FZlib does not support gzip file handling.
  • FZlib is licensed under BSD style license
  • No breakthrough has been done by developing FZlib. So, if zlib is patent free, FZlib is also not covered by any patents.

Grab it here.


Written by TwoFace

February 16, 2010 at 19:27

Posted in as3