Re: Tarfile .bz2

2006-12-13 Thread Piet van Oostrum
> "Martin v. Löwis" <[EMAIL PROTECTED]> (MvL) wrote: >MvL> Jordan schrieb: >>> Not really on topic anymore but what's the method for tar.gz? >MvL> It works like .tar.bz2, except that it uses gzip (www.gzip.org) >MvL> as the compression library. The underlying compression algorithm >MvL> is L

Re: Tarfile .bz2

2006-12-12 Thread Fredrik Lundh
Martin v. Löwis wrote: > Well, .jpg files are already compressed in a lossy way (.jpg is > inherently lossy); to compress it further, you need to increase > the loss. or use a better algorithm, such as JPEG 2000 or Microsoft's HD Photo, which both give better visual quality at lower bit rates (w

Re: Tarfile .bz2

2006-12-12 Thread Yu-Xi Lim
Martin v. Löwis wrote: > Well, .jpg files are already compressed in a lossy way (.jpg is > inherently lossy); to compress it further, you need to increase > the loss. PNG is also compressed already, see Not really. Stuffit has a JPEG compressor which takes advantage of the fact that the JPEG algor

Re: Tarfile .bz2

2006-12-12 Thread Yu-Xi Lim
Jordan wrote: > So that would explain why a tar.bz2 archive can't be appended to > wouldn't it... And also explain why winrar was so slow to open it (not > something I mentioned before, but definitely noticed). I had wondered > what it was that made bz2 so much better at compression than zip and

Re: Tarfile .bz2

2006-12-11 Thread Martin v. Löwis
Jordan schrieb: > Not really on topic anymore but what's the method for tar.gz? It works like .tar.bz2, except that it uses gzip (www.gzip.org) as the compression library. The underlying compression algorithm is LZW. > And > even more off the topic, does anyone know a good lossless compression >

Re: Tarfile .bz2

2006-12-11 Thread Aidan Steele
As far as I know, tar.gz and tar.bz2 files work in exactly the same way, but use different algorithms. That is to say, all the files are 'tarballed' together, then the resulting very long string is run through the gz bz2 algorithm and out pops the compressed file. (These compression algorithms wor

Re: Tarfile .bz2

2006-12-11 Thread Jordan
So that would explain why a tar.bz2 archive can't be appended to wouldn't it... And also explain why winrar was so slow to open it (not something I mentioned before, but definitely noticed). I had wondered what it was that made bz2 so much better at compression than zip and rar. Not really on to

Re: Tarfile .bz2

2006-12-11 Thread Wolfgang Draxinger
Jordan wrote: > When using python to create a tar.bz2 archive, and then using > winrar to open the archive, it can't tell what the compressed > size of each > individual file in the archive is. Is this an issue with > winrar or is there something that needs to be set when making > the archive tha

Re: Tarfile .bz2

2006-12-11 Thread Martin v. Löwis
Jordan schrieb: > When using python to create a tar.bz2 archive, and then using winrar to > open the archive, it can't tell what the compressed size of each > individual file in the archive is. Is this an issue with winrar or is > there something that needs to be set when making the archive that i

Tarfile .bz2

2006-12-11 Thread Jordan
When using python to create a tar.bz2 archive, and then using winrar to open the archive, it can't tell what the compressed size of each individual file in the archive is. Is this an issue with winrar or is there something that needs to be set when making the archive that isn't there by default.