[Libreoffice-bugs] [Bug 127854] Add ability to keep vector image and compress replacement image in image compression dialog

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 12 21:38:17 UTC 2020


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

--- Comment #19 from Gellért Gyuris <gellert.gyuris at gmail.com> ---
Created attachment 160735
  --> https://bugs.documentfoundation.org/attachment.cgi?id=160735&action=edit
New sample

Cor Nouws, I'm trying to explain again, but I'm afraid that I'm just repeating
myself. I hope I can answer your question: I want to avoid big and unnecessary
PNG replacement images for embedded vector images. 

See attached sample: There is a document with 9 embedded roll-ups (with 85 cm ×
200 cm). LibreOffice normally generates a replacement PNG for every embedded
vector image. In these examples:
- for 55 kB SVGs LO generates 2,5 MB PNGs, or
- for 2,1 MB PDFs LO generates 21,1 MB PNGs.

There are an expert switch (org.openOffce.Office.Common > Save > Grapchics >
AddReplacementImages: false) to completely exclude generating these replacement
images, but this is a hidden feature and a global switch, not a per document or
per image switch. 

I found that image compressing feature would be the best solution:
- I think, the current behavior isn't the best: replace vector file with a
bitmap and compress the bitmap...
- This feature would be better if preserves the original vector and compress
the replacement images. This is a feature request.
- Or with an option we can preserve both behavior as I suggested above.

Maybe this isn't a good idea. I'm just a user, not a developer. Maybe someone
has a better idea. Do you know a better solution how to prevent huge
replacement files from being created?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200512/bf9685ff/attachment.htm>


More information about the Libreoffice-bugs mailing list