Issue 84243 - Large odg freezes office on PDF-export with lossless compression
Summary: Large odg freezes office on PDF-export with lossless compression
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.3.1 RC1
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2007-12-04 20:48 UTC by cno
Modified: 2013-08-07 15:31 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description cno 2007-12-04 20:48:15 UTC
- I have a large odg 
- PDF-export with lossless compression makes office freeze.
With JPEG compression 100% the export goes fine ...
I'll be glad to send the odg.
Comment 1 thorsten.martens 2007-12-05 12:34:55 UTC
TM->HI: please have a look, thanks !
Comment 2 h.ilter 2007-12-05 15:25:47 UTC
I've exported an 85 pages impress file to pdf in both mode without any problem.
Please provide a sample where it is reproducible, Thanks.
Comment 3 h.ilter 2007-12-06 09:15:55 UTC
HI->THB: It seems that we have a performance problem with transparent objects. 
The PDF-Export does not freeze but it takes over 1 minute to finish the job.
I'll forward the bugdoc to you by mail.
Comment 4 cno 2007-12-06 10:18:51 UTC
Thanks for the info.
At my system, it looked as a freeze, with 5 minutes waiting or so without
visible progress.
Comment 5 thb 2007-12-06 16:31:07 UTC
@pl: could you have a look, please?
Comment 6 philipp.lohmann 2008-05-27 15:04:14 UTC
The document uses a transparent gradient. That gradient is prepared for the PDF
as a large bitmap (so it looks the same as on the display).  If you use
"lossless compression", then this bitmap is prepared for 300 dpi instead of 72
dpi. This increases the data involved by a factor of 17, also CPU cycles. Since
also memory usage increases you will also more easily into swapping. You can
e.g. see this when you disable compression wholesale, then a 583 MB file is
produced (the gradient actually compresses very well).

So there is no actual bug here.

pl->sj: this is the handling of META_FLOAT_TRANSPARENT action in
filter/source/pdf/pdfexport.cxx. I don't know if we perhaps should tweak that
somehow ?
Comment 7 sven.jacobi 2008-06-02 15:57:01 UTC
changed target