Bug 98131 - different file size of same document - Linux versus Windows
Summary: different file size of same document - Linux versus Windows
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-24 10:28 UTC by rman
Modified: 2016-03-14 15:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
open letter - just an example! (225.32 KB, application/vnd.oasis.opendocument.text)
2016-02-24 10:28 UTC, rman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rman 2016-02-24 10:28:07 UTC
Created attachment 122938 [details]
open letter - just an example!

When I save the document attached as PDF with the Linux (I am using Lubuntu 14.04.4) version of LibreOffice (Version: 5.1.0.3), then the file size of the PDF is around 251 kB.
When I save the document attached as PDF with the Windows version of LibreOffice (Version: 5.0.4.2 x64), then the file size of the PDF is around 161 kB.

Why is that?
Comment 1 Buovjaga 2016-03-14 12:48:26 UTC
It might have something to do with the image compression settings. Check that both have the same quality % for JPEG compression in the PDF export dialog.
Also, the Linux version might use a different compression library.

Let us know, how it goes.

I think this does not really qualify as a bug report :)
These types of questions are better to first throw on http://ask.libreoffice.org/
Comment 2 rman 2016-03-14 15:06:16 UTC
Thank you for that hint!
Indeed the Windows and the Linux version of LibreOffice have different default settings for PDF export.
Default settings for images in Linux: "lossless compression" (or something like that, in German it is "Verlustfreie Komprimierung")
Default settings for images in Windows: "JPEG compression" and "reduce image resolution" (to 90%).
When I set the same settings for images in Linux, the resulting file size is nearly the same as with the Windows version of LibreOffice.