resvg icon indicating copy to clipboard operation
resvg copied to clipboard

Invalid alpha blending in the blur filter

Open JoKalliauer opened this issue 4 years ago • 1 comments

Processing https://commons.wikimedia.org/wiki/File:Fishing_reel-sm.svg

Fishing_reelsm5p5csoSC.svg.txt

lib pic
rsvg Fishing_reelsm5p5csoSC_r
resvg Fishing_reelsm5p5csoSC_re

If you look closely the shaddow behind 8 looks strage in resvg

Copyright

source: https://commons.wikimedia.org/wiki/File:Fishing_reel-sm.svg

author: Original photo: Jan Tik. Vectorized version: Chabacano

license: https://creativecommons.org/licenses/by-sa/3.0/

JoKalliauer avatar Feb 21 '20 21:02 JoKalliauer

Yes, this is some weird blur artifacts.

The minimal SVG:

<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
    <filter id="filter1">
        <feGaussianBlur stdDeviation=".67353111"/>
    </filter>
    <rect x="20" y="20" width="160" height="160" fill="#191919" filter="url(#filter1)"/>
</svg>

RazrFalcon avatar Feb 21 '20 21:02 RazrFalcon

Seems to be fixed now.

RazrFalcon avatar May 21 '23 13:05 RazrFalcon

Sorry I don't even see the difference now any more (between librsvg and rendersvg), don't know what I reported. Thanks for closing.

JoKalliauer avatar Jun 11 '23 20:06 JoKalliauer