<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 - Inconsistent behaviour of HTML to PNG conversion between filters and versions"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=117252">117252</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Inconsistent behaviour of HTML to PNG conversion between filters and versions
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.3.5.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</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>Draw
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jack.osullivan@preservica.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=141651" name="attach_141651" title="Input HTML file">attachment 141651</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=141651&action=edit" title="Input HTML file">[details]</a></span>
Input HTML file
I am using the LibreOffice CLI to export various import formats as PNG
thumbnails. I have noticed inconsistent behaviour depending on the exact filter
specified, which I noticed because the 6.0.1.1 version is not working using the
same defaults as 5.3.5.2.
I have tried running the following:
soffice --headless --convert-to png --outdir /tmp Tessella.htm
on both 5.3.5.2 and 6.0.1.1 (on CentOS7), and whilst this completes and
generates a believable png on 5.3, it fails with the following error on 6.0:
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///tmp//Tessella.png> failed: 0xc10)
Both versions defaulted to using the "writer_web_png_Export" filter.
For both versions, I then tried:
soffice --headless --convert-to png:$FILTER --outdir /tmp $INPUTFILE.htm
for the following filters:
PNG___Portable_Network_graphic (1)
calc_png_Export (2)
draw_png_Export (3)
impress_png_Export (4)
writer_png_Export (5)
with the following behaviours:
(1) both versions give:
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///tmp//Tessella.png> failed: 0x81a)
(2) Works on both
(3) both versions give:
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///tmp//Tessella.png> failed: 0xc10)
(4) both versions give:
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///tmp//Tessella.png> failed: 0xc10)
(5) Works on both
It's not clear to me that draw and impress should fail where calc and writer
both work (although if this is expected behaviour that's fine), but clearly
it's problematic for me that writer_web seems to have broken between 5.3 and
6.0.
I have attached the htm that I am using, and the png that gets exported (it
appears to be the exact same file that is generated by each of the filters that
work).</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>