Using InkScape, Some svg file is not converted to png

Asked by Mukesh on 2018-09-10


I am using OS - Ubuntu 16.04.4 LTS And InkScape version : 0.92.3.

Mostly svg file properly converted to PNG. But in Some files, not converted properly.

Here is svg contents and file linked in it.

<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" ""><svg xmlns="" xmlns:xlink="" version="1.1" width="380" height="380" viewBox="0 0 380 380" xml:space="preserve"><desc>Created with Fabric.js 1.7.13</desc><defs></defs><g transform="translate(190 190) scale(0.506667 0.506667)"><image xlink:href="1-original.jpg" x="-500" y="-375" style="stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" width="1000" height="750" preserveAspectRatio="none"></image></g></svg>

Here is link of original file which need to download and save '1-original.jpg' within same directory where svg file is placed.

Then run command : inkscape 6014.svg --export-png=demo.png

After run command and generated demo.png which is not properly generated

While svg file open in browser it will be show proper.

Please do needful.


Question information

English Edit question
Inkscape Edit question
No assignee Edit question
Last query:
Last reply:
Mukesh (mukesh.cp) said : #1


While run command in terminal (inkscape 6014.svg --export-png=demo.png) , there is not given any error.

While run command, got below message in terminal :

 Background RRGGBBAA: ffffff00 Area 0:0:380:380 exported to 380 x 380 pixels (96 dpi) Bitmap saved as: demo.png

Also Same case is working within Window 7 System.

Please do needful.


Can you help with this problem?

Provide an answer of your own, or ask Mukesh for more information if necessary.

To post a message you must log in.