[Libreoffice-bugs] [Bug 97778] Inserting a linked SVG creates a PNG copy embedded on the file

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jun 7 21:16:08 UTC 2018


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

--- Comment #8 from João Paulo <joaopauloag-freedesktop at yahoo.com.br> ---
On LibreOffice 6.0.4.2 (x64), build ID
9b0d9b32d5dcda91d2f1a96dc04c645c450872bf, this bug is still present, but
worsened:

If I link the same SVG image into a document (again, I don't embedd, just
link), if I save as Flat ODT (*.fodt), LibreOffice makes **two or more** copies
of the SVG file converted to PNG inside <office:binary-data> elements.

There is no need to embedd the file data inside the *.odt and *.fodt files.

Instead of:

<draw:image xlink:href="../!Logotipo/Coruja.emf" xlink:type="simple"
xlink:show="embed" xlink:actuate="onLoad"/>
         <draw:image mime-type="image/png">
          <office:binary-data>
[binary data here corresponding to a PNG file]
          </office:binary-data>
         </draw:image mime-type="image/png">

There should be only:

<draw:image xlink:href="../!Logotipo/Coruja.emf" xlink:type="simple"
xlink:show="embed" xlink:actuate="onLoad"/>

-- 
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/20180607/7af32311/attachment.html>


More information about the Libreoffice-bugs mailing list