CLI bitmap export failure with 'maskContentUnits="objectBoundingBox"'

Bug #1317050 reported by su_v
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Medium
Unassigned

Bug Description

A mask which defines its content in objectBoundingBox units fails to get exported correctly to PNG via command line. Exporting the same content to PNG via GUI on the other hand produces the expected result.

Steps to reproduce:
1) open mask-cli-export-failure-1.svg in Inkscape
2) export via 'File > Export PNG Image' (page area)
3) quit inkscape
4) export via command line:
$ inkscape -f mask-cli-export-failure-1.svg -e mask-cli-export-failure-1-cli.png
5) compare the two exported PNG images

Expected result:
The two exported PNG images are identical

Actual result:
The PNG created via cli export appears to miss the masked object (probably the size of the mask content (a rectangle) was incorrectly calculated).

Reproduced on OS X 10.7.5 with
- Inkscape 0.47
- any version of the stable series 0.48.x
- current trunk (0.48+devel r13340)

Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
su_v (suv-lp) wrote :
description: updated
Revision history for this message
su_v (suv-lp) wrote : Re: [Bug 1317050] Re: CLI bitmap export failure with 'maskContentUnits="objectBoundingBox"'

PNG files exported via GUI and CLI with current trunk r13340.

Revision history for this message
Liam P. White (liampwhite) wrote :

Confirmed with trunk r13504. Problem also seen in GTK file picker with previews on.

Changed in inkscape:
status: New → Confirmed
su_v (suv-lp)
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
su_v (suv-lp) wrote :

Related report:
- Bug #1348417 “SVG processed differently depending on program context”
  <https://bugs.launchpad.net/inkscape/+bug/1348417>

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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