CLI conversion to png loses gradient mask effect

Bug #1317177 reported by muhkayoh
6
This bug affects 1 person
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://stephenmoran.com/tmp/lgo_svg_test_02.svg

And here is a screen shot illustrating the problem:

http://stephenmoran.com/tmp/screenshot.png

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).

Revision history for this message
muhkayoh (matt-mattjordan) wrote :
Revision history for this message
su_v (suv-lp) wrote :

@muhkayoh - based on our conversation on IRC (#inkscape) recently, I filed this report earlier today:
- Bug #1317050 “CLI bitmap export failure with 'maskContentUnits="objectBoundingBox"'”
  <https://bugs.launchpad.net/inkscape/+bug/1317050>

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?

tags: added: bitmap cli exporting masking
Revision history for this message
muhkayoh (matt-mattjordan) wrote :

Yes. Sorry, I guess I was a day late and a dollar short in reporting this one, but we were a little swamped this week. :) My apologies for the duplication.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.