<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILESAVE: File size of Flat XML is much larger than for normal format when using linked images"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=122625">122625</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FILESAVE: File size of Flat XML is much larger than for normal format when using linked images
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.1.4.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Impress
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dirk.duschinger@yahoo.de
</td>
</tr></table>
<p>
<div>
<pre>Description:
Hi,
I have a presentation in which I almost exclusively link graphics. Until now I
always saved the file in odp format and the file size was always very moderate
(~600kB). Since I wanted to explore something in the XML code, I saved the file
in fodp format and noticed that the file size increased to more than 13MB. A
quick look into the file confirmed my assumption: all graphics were apparently
included in the file as <office:binary-data>.
A small test with a simple single page presentation, once with linked image and
once with the same image embedded, and a diff of the two files showed (except
for the header) this minor change:
< <text:p text:style-name="Standard"><draw:frame draw:style-name="fr1"
draw:name="Image1" text:anchor-type="paragraph" svg:width="6.6929in"
svg:height="3.6508in" draw:z-index="0"><draw:image loext:mime-type="image/png">
---
> <text:p text:style-name="Standard"><draw:frame draw:style-name="fr1"
draw:name="Image1" text:anchor-type="paragraph" svg:width="6.6929in"
svg:height="3.6508in" draw:z-index="0"><draw:image xlink:href="image.png"
xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
draw:filter-name="<All formats>" loext:mime-type="image/png">
The binary-data block was apparently identical. Removing the
<office:binary-data> block in the fodp file and reopening it in LO worked fine
with the desired result, i.e. the linked graphic were still displayed.
So I assume that the embedding in fodp happens accidentally but can and should
be avoided.
I performed another test with LO Writer, which showed a similar behavior.
Therefore I assume that it is a general problem of the Flat XML format in LO.
With kind regards,
Dirk
PS: my tests were performed with LibreOffice 6.1.4.2 10(Build:2)
Steps to Reproduce:
1. Create a new presentation in LO impress and insert a linked image
2. Save file in odp and fodp format
Actual Results:
File size of fodp file is unreasonably larger than in odp format
Expected Results:
File sizes should be comparable
Reproducible: Always
User Profile Reset: No
OpenGL enabled: Yes
Additional Info:</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>