Apache OpenOffice (AOO) Bugzilla – Issue 100722
Compressed files do not need to be compressed again in Storage
Last modified: 2013-08-07 14:44:00 UTC
Compressed files (like for example jpeg images) are currently compressed agained when stored in an ODF file. These file do not compress well or at all so little is gained by compressing them again. Because these files are often a major contribution to the whole data compressed in a ODF file, they are a major contribution to the total save time. To improve the save performance of the OOo writer it would be nice to store these files uncompressed.
*** Issue 100721 has been marked as a duplicate of this issue. ***
*** Issue 100720 has been marked as a duplicate of this issue. ***
*** Issue 100719 has been marked as a duplicate of this issue. ***
Target changed to 3.2
The default behavior of the storage implementation is changed in the way that the streams of the known compressed types are no more compressed by default. They are still compressed if it is explicitly requested, or in case the stream was already compressed and was copied to the storage. In the last case there is no performance problem usually, since the stream is already compressed and the binary copying takes place internally.
Currently the following formats are set as known compressed formats JPG, PNG, GIF, as these formats are the most common case. In case this list should be extended, please submit a standalone issue with the list. This issue was more about having this mechanics in storage implementation.
mav->mru: Please verify the issue. To do so you can just create a new document, insert images of the mentioned formats, store it and investigate the result file with a zip tool ( usually they provide information whether a stream is compressed or not ).
Verified in CWS os128.
checked in DEV300m51.