opacity attribute is wrongly applied to image element
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
AFAIK there isn't a direct operation in Inkscape to set opacity for an svg image element.
An opacity style attribute can be added using the XML editor. However, Inkscape appears to set the value incorrectly, when applied this way.
To reproduce the issue (files attached):
Duplicate images can be placed separate layers, and the layer opacity adjusted for one to match attribute value in other. The problem which is clearly visible in the Inkscape viewport, also persists in exported .png content. The Inkscape SVG file renders correctly in browser.
I found these related bug reports:
Bug #1434122 posted on 2015-03-19 concerned opacity attribute applied to an image in g element.
Reference to #389130
on 2015-08-16: Mc wrote:
// something else is probably already in charge of computing opacity, elsewhere, so it was doubly transparent
on su_v wrote: 2015-09-29: 'Fix backported to 0.91.x in rev 13808.'
I hope this helps.
I am running pre-build on OS X.
-u
> su_v wrote: 2015-09-29:
> 'Fix backported to 0.91.x in rev 13808.'
there had been no bug-fix release of the current stable series 0.91.x yet - your build of current stable Inkscape 0.91 r13725 is still affected by bug #1434122.
The issue as you describe is the same as tracked in bug #1434122 and no longer reproduces with recent development builds (rev >= 14306) -> this fix will be included in the next stable release (0.91.1 or 0.92, whatever comes first).
Linking as duplicate to bug #1434122.