Ask Your Question

Command line SVG conversion doesn't work. PNG does. [closed]

asked 2014-04-03 08:34:35 +0200

BW gravatar image

updated 2015-09-09 12:22:38 +0200

Alex Kemp gravatar image

Hi there!


I'm calling the LibreOffice executable with the following parameters:

soffice.exe" --headless --convert-to svg:"draw_svg_Export" "gumnut.fodg"

This doesn't produce any output. Not even a 0-byte file.

But when I call LibreOffice again to convert my file to PNG it works like a charm:

soffice.exe" --headless --convert-to png:"draw_png_Export" "gumnut.fodg"


I have tried several other output formats and all seem to work. Only the SVG output doesn't.

I tried to find an answer for that problem and found this bug report: But there it says the SVG output has been fixed.

I'm currently running version An older version of my program was running on a machine using a older version of LibreOffice (I think somewhat like 3.x) and the SVG output worked.


Does anyone know how to produce SVG output? Is my problem related to the bug report?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-20 18:39:31.211087

1 Answer

Sort by » oldest newest most voted

answered 2014-04-03 09:55:51 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

This sounds like fdo#63324 "Headless conversion fails: Error: Please reverify input parameters..." a problem of an introduced bug in 4.0 with the command line tool. Did you get a file without the --headless?

edit flag offensive delete link more


Thanks for your answer!

What do you exactly mean when you say "without --headless"? I can open my drawing width LibreDraw and click Export and save it as an SVG file.

When I call

soffice.exe" --convert-to svg:"draw_svg_Export" "gumnut.fodg"

The splash screen apears and the launcher starts but I get no output.

BW gravatar imageBW ( 2014-04-03 16:41:55 +0200 )edit

Question Tools

1 follower


Asked: 2014-04-03 08:34:35 +0200

Seen: 1,469 times

Last updated: Apr 03 '14