On Wed, Mar 31, 2004 at 10:57:35AM +0200, Michal R. Hoffmann wrote: > Julius Plenz wrote: > > >* Kenneth Macdoald Karlsen <[EMAIL PROTECTED]> [2004-03-30 20:13]: > > > >>On Tue, 2004-03-30 at 15:00, Manjula Kuntennkar wrote: > >> > >>>we are looking for the algorithm of data compression, we need to > >>>send data the GPS data to the base station, data to be compressed > >>>is 70%.can u provide the algorithm > >> > >>The answer to life, the universe, and everything is 42. > > > > > >That's _one_ answer. But I got a different one. > > > >Let's assume you've got a file which is filled with exactly > >1,073,741,824 spaces in a row. Now look at the compression- > >effectiveness-"table", got in <[EMAIL PROTECTED]>: > > > >,---- [ Compression-Algorithms ] > >| ZIP: 1,043,671 (1028:1) > >| ZLIB: 1,043,677 (1028:1) > >| BZIP2: 833 (1289005:1) > >`---- > > > >But maybe you don't want to compress a file full of spaces... > > > >Julius > > And I have another one. He didn't mentioned that it's supposed to be a > lossless compression. Once I've written the function, it has compressed > 10kb file into few bytes. Unfortunately, I was not able to uncompress it > to the original form. ;-) Well, jpeg with max compression level is also > nice.
http://lzip.sourceforge.net/ Brian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]