Bug 97874 - Why are odp files so large?
Summary: Why are odp files so large?
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-15 11:54 UTC by Tom B
Modified: 2016-02-15 13:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom B 2016-02-15 11:54:18 UTC
I create 2 presentations a week of 50 - 100 slides. The average size is about 30mb. If I save the file as .pptx it takes up around 300kb! That's 10 times smaller. 

While not a problem in itself, this quickly eats up space. With 100 presentations that's 3gb of space used. That's not a trivial amount. 30mb is also a considerable amount to send via email compared with the 300kb PPTX

Is there anything I can do to make the files smaller? They seem to be unreasonably large compared with other formats.
Comment 1 Thorsten Behrens (allotropia) 2016-02-15 12:06:43 UTC
Tom, we would either need one of your presentations (simply attach them to this bug - but FYI they're then publicly available), or a detailed step-by-step approach on how to generate those files (which pictures/graphics/other content you use - I suspects that's what blows up the size).
Comment 2 Maxim Monastirsky 2016-02-15 12:14:55 UTC
Try to disable fonts embedding (File->Properties...->Font->Embed fonts in the document).
Comment 3 Tom B 2016-02-15 12:26:17 UTC
That has fixed it, thank you!

I just saved a 51mb odp without fonts and it now takes up 121kb, roughly the same as the PPTX at 134kb (So actually slightly smaller!)

There must be a genuine bug here though as I'm only using 2 different fonts in the presentation. I can't see how 2 fonts (even with all the italic/weight variants) can take up 50mb. 

This fixes this particular bug and certainly helps me store/email the documents with less hassle however there is certainly a problem with embedded fonts given a TTF is generally less than 500kb.
Comment 4 Maxim Monastirsky 2016-02-15 12:31:07 UTC

*** This bug has been marked as a duplicate of bug 65353 ***
Comment 5 Thorsten Behrens (allotropia) 2016-02-15 13:52:18 UTC
(In reply to Tom B from comment #3)
> There must be a genuine bug here though as I'm only using 2 different fonts
> in the presentation. I can't see how 2 fonts (even with all the
> italic/weight variants) can take up 50mb. 
> 
Regardless of the fact whether the font files are too big - font
embedding is off by default, so this should happen only when
explicitely requested.