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

--- Comment #2 from Michael Meeks <[email protected]> ---
I've knocked up a quick band-aid here - it will make some PDFs both
smaller and faster to export, and others somewhat larger but still
faster to export; for this sample document of a highly quality JPEG
and a low-quality JPEG we have (with default settings)

libreoffice 5.0        2.543 Mb
with the fix            1.861 Mb

With some CPU saving too.

Ideally we'd adapt to the DPI scaling too; and even more ideally -
we'd expose the underlying Graphic from the PDFExtOutDevData to the
pdfwriter_impl2.cxx's PDFWriterImpl::implWriteBitmapEx - to ensure
that we never make the image larger even in that case.

cf.

https://gerrit.libreoffice.org/22219 tdf#97662 - Try to preserve original
compressed JPEGs harder.

-- 
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