https://bugs.documentfoundation.org/show_bug.cgi?id=101563
Bug ID: 101563
Summary: Export to PDF with linked images creates huge PDF
files.
Product: LibreOffice
Version: 5.2.0.4 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Printing and PDF export
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: pa...@landau.ws
Created attachment 126857
--> https://bugs.documentfoundation.org/attachment.cgi?id=126857&action=edit
Sample document and image
SUMMARY
When exporting a document with a linked image to PDF, the resulting PDF file is
huge.
In my tests, it varies between 6 and 10 times larger than required.
STEPS TO REPRODUCE
1. Create a document with at least one linked image. (A sample document and
image are provided in the attachment.)
2. Export to PDF using lossless export.
WHAT IS EXPECTED
• The exported PDF should be a size commensurate with the original document and
linked images.
WHAT HAPPENS INSTEAD
• The PDF file is many times larger.
• In my tests, PDF files are between 6 and 10 times larger than from previous
LibreOffice versions.
• In the attached sample, the PDF for previous versions is consistent at 2.1
Mb, but from version 5.2.0 it is ten times larger at 21 Mb.
MORE INFORMATION
• Tested on versions 5.0.6, 5.1.4, 5.1.5 and 5.2.0.
— Versions 5.0.6, 5.1.4 and 5.1.5 all work correctly.
— Version 5.2.0 has this bug.
• This is a regression, which used to happen a long time ago but was fixed. I
haven't tested on versions prior to 5.0.6 because I don't know how to obtain
those older versions.
• This might seem minor, but it is significant when the resulting PDF file
greatly exceeds 100 Mb (instead of the expected 20 Mb), the PDF file is a
website download, and there are many PDF files.
• An expected workaround might be to use embedded images instead of linked
images, but that is not a sensible option when the images can change.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs