Exporting to png with command line does not work with clipped images with clipPathUnits = objectBoundingBox

Steps to reproduce:

  • call inkscape from the command line
  • .\inkscape.com C:\pathToMySvg\clippedSvg.svg -e C:\pathToMyPng\myPng.png

What happened?

  • myPng.png is created but when i open it, it is 'empty', there is no image

This happens only with svg graphics that have a relative clippath!

What should have happened?

  • myPng.png should be created correctly

I can open clippedSvg.svg in inkscape normaly and export it to png. This works perfectly. Only when i try to do this via command line the png gets destroyed.

Inkscape Version and Operating System:

  • Inkscape Version: 0.92.4
  • Operating System: Windows
  • Operating System version: Windows 10 Enterprise

Example file:

Clipped SVG: clippedSvg.svg

Damaged Png: myPng

Edited by Jonathan Neuhauser