Error when converting svg to png with inkscape

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
yhuynh
Posts: 17
Joined: 2017-11-20T03:29:58-07:00
Authentication code: 1152

Error when converting svg to png with inkscape

Post by yhuynh » 2018-04-13T04:46:47-07:00

Hi i got the following output with this command :

inkscape -z -e test.png Item-2813-Face.svg

Failed to get connection
** (inkscape:28007): CRITICAL **: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed

** (inkscape:28007): CRITICAL **: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed

** (inkscape:28007): CRITICAL **: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Background RRGGBBAA: ffffff00
Area 0:0:1879:2053 exported to 1879 x 2053 pixels (96 dpi)
Bitmap saved as: out.png
root@ns3081147:/home/printplusprod/public_html/media/pdp/download/200000588# inkscape -z -e test.png Item-2813-Face.svg Failed to get connection
** (inkscape:32608): CRITICAL **: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed

** (inkscape:32608): CRITICAL **: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed

** (inkscape:32608): CRITICAL **: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Background RRGGBBAA: ffffff00
Area 0:0:1879:2053 exported to 1879 x 2053 pixels (96 dpi)
Bitmap saved as: test.png

as a result the background of the png file is not transparent but is a grey gradient, sorry i cannot post and image it seems the insert image icon is broken.

snibgo
Posts: 11104
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Error when converting svg to png with inkscape

Post by snibgo » 2018-04-13T04:55:26-07:00

This is an ImageMagick forum, not an Inkscape forum.

However, "Failed to get connection" suggests the SVG contains a reference to a URL on the web, and this fails.
snibgo's IM pages: im.snibgo.com

Post Reply