CLI conversion to png loses gradient mask effect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
Using the command line to convert an svg (created programmatically outside of Inkscape) to a png results in missing visual elements. Specifically, a reflection effect, made by using a gradient mask, completely disappears from the resulting png image. The reflection is present when the same svg is opened in the Inkscape gui. Furthermore, if I export that same svg to png via the gui, the png is perfect, reflection effect and all. So this seems to be a case where the command line output differs from the gui output.
Here is a link to an svg with the reflection effect applied to both a text element and a complex shape element:
http://
And here is a screen shot illustrating the problem:
http://
In the screen shot you'll see first (on the left) the svg open in Inkscape, properly displaying the reflections. Next to that is the png exported from the gui. Finally, to the right, is the png exported via the command line and it is missing the reflections.
For reference, that's 0.48.2 on a Mac desktop, but we have seen the same problem with 0.48.4 on our local server (CentOS 6).
@muhkayoh - based on our conversation on IRC (#inkscape) recently, I filed this report earlier today: ts="objectBound ingBox" '” /bugs.launchpad .net/inkscape/ +bug/1317050>
- Bug #1317050 “CLI bitmap export failure with 'maskContentUni
<https:/
It has a minimal test case attached with what in my tests turned out to be the most likely underlying problem exposed with your example file. Would you agree that these are the same issues, and that your report could be marked as duplicate of bug #1317050?