[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Vector format/metafile for KOffice (Re: [Karbon14] misc)
From:       Vadim Plessky <lucy-ples () mtu-net ! ru>
Date:       2002-11-01 4:55:30
[Download RAW message or body]

On Thursday 31 October 2002 5:31 pm, David Faure wrote:
|  On Thursday 31 October 2002 12:09, Vadim Plessky wrote:
|  > On Thursday 31 October 2002 1:07 pm, David Faure wrote:
[...]
|
|  > I will check files on disk, and send to you off-list.
|
|  Here's the result: it's not the packaging that changes the size, it's the
| contents!
|
|  Old (koffice-1.1 tar.gz) file  (2281 bytes)
|  - -rw-r--r--    1 dfaure   dfaure        433 jui 12  2001 documentinfo.xml
|  - -rw-r--r--    1 dfaure   dfaure      38835 jui 12  2001 maindoc.xml
|
|  New (koffice-1.2, zip) file  (10852 bytes)
|  - -rw-rw-r--    1 dfaure   dfaure        565 oct 31 14:50 documentinfo.xml
|  - -rw-rw-r--    1 dfaure   dfaure      44645 oct 31 14:50 maindoc.xml
|  - -rw-rw-r--    1 dfaure   dfaure         19 oct 31 14:50 mimetype
|  - -rw-rw-r--    1 dfaure   dfaure       7607 oct 31 14:50 preview.png
|
|  The main difference is the preview saved into the file. That's 7000 bytes
| that don't compress. The other difference is the XML being a bit bigger,
| due to the added features in 1.2 (mostly the frame styles and table styles
| being saved into the document. This is _fixed_ size, the bigger the
| document is, the less important the difference will be, in proportion).

Ok, thanks for clarification, now it's clear to me.
Can I disable preview generation somewhere?

|
|  Summary: files are 7K bigger because of the preview PNG, *not*
|  because of the ZIP packaging format.

Nice to know :-)

In fact, I has been quite confused by the fact of "KWord file growth", as most 
of my test files indeed were about 2K-4K in size, and grown in size 
significantly after KWord upgrade (to 1.2)

|
|  - --
|  David FAURE, david@mandrakesoft.com, faure@kde.org

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic