----- Original Message -----
From: James Knott 
Date: Sunday, March 7, 2010 8:17 am
Subject: Re: [users] Compression of documents
To: [email protected]

> Dave and Anna Whitehouse wrote:
<snip>
>> In 'ms Word' - my usual day-to-day software - we can 
>> create a text doc ., add images, and then compress that whole 
> >    
> ODF documents, such as those created by OpenOffice are already 
> "zipped" so you can't compress them further.  As an experiment save 
> the same document in both .DOC and .ODT formats

I'm lounging on a Sunday morning so as an experiment I took a .docx
with images that someone had sent me and saved it in OpenOffice.org
to .odt.  Then I ran the .odt through zip, gzip, bzip2 and lzma.

.docx = 2858501 bytes

.odt = 2851953 bytes

I'm surprised there was so little difference.  Perhaps .docx is quite a bit
better than .doc for file size.  I remember seeing large differences in
file size between .odt and .doc files.

Compressing the .odt (and decompressing after successful compressions);

Zip responded "zip error: Nothing to do! (file.odt)"

gzip resulted in a file of 2847583 bytes

bzip2 gave 2833811 bytes

lzma gave 2860784 bytes

So you can compress an .odt with images in it, but the difference is
not great (with the tools I have).

Cheers,
IanS

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to