https://bugs.documentfoundation.org/show_bug.cgi?id=96289

--- Comment #18 from Michael Meeks <[email protected]> ---
Hi Jean-Baptiste; perhaps its good to just read the code that handles the DPI /
quality pieces:

https://gerrit.libreoffice.org/gitweb?p=core.git;a=blob;f=vcl/source/gdi/pdfwriter_impl2.cxx;h=404d0c88c994b17e870d01a298c216ea606753ee;hb=HEAD

checkout 'writeBitmapEx' - that is the guy that is triggered here:

I imagine that (somehow) aNewBmpSize - is mis-calculated and gets to be some
stupidly huge values =)

I believe we keep those Bitmaps around in memory to see if there are any other
identical ones later; however - that seems a complete waste of time =) if we
have had to scale the image - then there is no purpose in continuing to keep
the bitmap around - since it will never compare equal with another (AFAIK); so
perhaps some more love and/or logic can be put in there.

The latest 5.1.2 IIRC also has some logic from Marco to try to avoid excessive
re-compression of images that should speedup export too here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to