[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
Fri Apr 24 11:13:39 UTC 2020


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

--- Comment #6 from Gellért Gyuris <gellert.gyuris at gmail.com> ---
Thank you for thinking with me.

If you have the vector graphic why do you want/need to convert/compress it?
I want to compress not the vector data (SVG, PDF) but the automatically
generated _replacement image_ (PNG). In general the replacement image is a good
solution but when the vector's canvas has a big real size (several meters), the
rasterized replacement image has a huge file size too. It doesn't matter if the
real size of the vector file is 1 cm or 10 m. File size is the same. But for a
bitmap the file size will be quite different. I want to avoid this huge
replacement images. Since AddReplacementImages=true is the default option, the
obvious solution is to compress them.

I think for vector files this is the "logical" behavior: do not replace the
vector data (this is data loss) but compress the replacement image.

Would it be a feasible solution to do the trick with linked images?
Sorry, I don't understand fully the question. As I tested, it doesn't matter if
the vector file embedded or linked, replacement images are generated by
LibreOffice.

-- 
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/20200424/51df09a9/attachment.htm>


More information about the Libreoffice-bugs mailing list