[Libreoffice-bugs] [Bug 117252] New: Inconsistent behaviour of HTML to PNG conversion between filters and versions

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 26 13:32:02 UTC 2018


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

            Bug ID: 117252
           Summary: Inconsistent behaviour of HTML to PNG conversion
                    between filters and versions
           Product: LibreOffice
           Version: 5.3.5.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jack.osullivan at preservica.com

Created attachment 141651
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141651&action=edit
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).

-- 
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/20180426/be8b239d/attachment.html>


More information about the Libreoffice-bugs mailing list