Issue 43362 - PDF Export options to reduce file size
Summary: PDF Export options to reduce file size
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 680m79
Hardware: All All
: P3 Trivial with 11 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks: 81913
  Show dependency tree
 
Reported: 2005-02-23 03:03 UTC by tomw99
Modified: 2013-08-07 14:38 UTC (History)
6 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tomw99 2005-02-23 03:03:19 UTC
PDF export is impressive but produces overly large files (about eight times the
original for a small document).

Please:

1. Add an option "Substitute device fonts" to avoid including fonts in the PDF
file. This will make files smaller.

2. Add a third option for images, which retains the type of compression the
original image had. Make this the default option. Images which are in a lossless
format in the document would be saves as lossless in the PDF and lossey ones
would be saved as JPEG. This would overcome the problem where a document
contains both diagrams and photographs. Normally the diagrams would be stored in
a lossless format and the images in JPEG. If converted to lossless the
photographs will not be efficient, if converted to JPEG the diagrams will be blurry.
Comment 1 michael.ruess 2005-02-23 07:38:35 UTC
MRU->HI: pls evaluate.
Comment 2 kb0000 2005-04-09 07:16:14 UTC
i can confim that there are no such settings in OO 1.9.91.
Comment 3 h.ilter 2005-04-11 09:06:31 UTC
HI->MMP: BTW. Maybe it would be sensible to move some or all possible settings
to Tools - Options...area.
Comment 4 konttori 2005-05-07 10:54:51 UTC
LZW compression of the pdf would be great addition as well and shouldn't be too
difficult to add at this time. Although, if the feature set is frozen, then
maybe you could implement this for the 2.1 version.
Comment 5 Matthias Basler 2005-07-01 20:31:11 UTC
I can confirm that PDF size is an issue in OOo2.0.

Almost any files I export become significantly larger in OOo1.99.x. For eyample
I have a text file with a small image, which exports to 2.26 MB in OOo1.1.4, but
to over 3 MB in OOo1.9.109. Obviously export is not as efficient, or, as
suggested above, some export options are missing to make it more efficient.

I strongly support the idea of differencing between looseless and lossy images.

P.S: I'd like to have such setting where they are now, i.e. in a dialog that
pops up during export. It happens often that I want to create different versions
of the document with different quality/compression. Setting the compression
options in the general preferences dialog would be too circumstancial for this.

Matthias Basler
Comment 6 keithh 2005-10-12 14:05:53 UTC
Just to chime in on the importance of this issue: here are the file sizes for a
simple 3 page document which is comprised solely of a 4 column table of english
text. There is one additional anchored frame which also contains text.

 49664 bytes: original Microsoft Word Document
 15974 bytes: same file opened by OO 2.0rc2 and save as in ODT                 
                              
 29282 bytes: PDF file produced from Word document using Acrobat distiller
467912 bytes: PDF file produced by OO 2.0rc2

The excessive bloat was enough to prevent me from using OO for this document -
very unfortunate.
Comment 7 vinc17 2006-01-30 14:21:04 UTC
I suggest two improvements (done by ps2pdf under Linux[*]):
  1. Use the Compact Font Format (CFF).
  2. Include a subset of the font (particularly useful when most characters
aren't used).

[*] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343356 which shows that a
115KB PDF file generated by OpenOffice 2.0.0 takes only 2KB after using pdftops
and ps2pdf.
Comment 8 matthias.mueller-prove 2006-03-14 12:05:08 UTC
------- Additional comments from pl@openoffice.org Tue Mar 14 03:14:57 -0800
2006 -------
One thought on issue 43362: the jpeg issue is a non issue; if the original is
jpeg it already gets put into the pdf in its original form; that means if
uncompressed images is selected the behaviour is already as wanted. The
substitution issue is not really an easy fix since this can only be done for
western text, so one would have to make this decision on the fly when encoding
the font subsets to be put into the PDF.
Comment 9 tomw99 2008-07-08 05:32:20 UTC
IMAGES: Sorry I was confused by the misleading label on the option "Lossless
compression". I assumed you would get all the images converted to lossless
format (ie PNG). Perhaps that line should be removed and the option underneath
changed to a checkbox labeled "Convert to JPEG". Also as converting to JPEG is
not a good idea, it would be useful if this option was moved to under "Reduce
Image resolution". 

FONT SUBSTITUTION: This can only be done for western text, but PDF includes
these fonts because they are so commonly used.
Comment 10 philipp.lohmann 2008-07-08 10:09:22 UTC
reassign
Comment 11 Rob Weir 2013-07-30 02:16:54 UTC
Reset assignee on issues not touched by assignee in more than 2000 days.