Support Inkscape Filters
Hi, for example on this svg file there is a inner shadow filter.
Also I give you a challenge, try to draw that image with LazPaint =)
The font is NextGames.
Hi Leandro,
What a beautiful picture! I am not sure I will try the challenge, even if I have some ideas on how to do it.
Going back to your request, thanks for suggesting ideas to explore. I need a bit of clarity about your wish. How would you see this filters made available? Are those bitmap filters? Or within SVG?
The inner shadow effect is available in LazPaint. Are there other Inkscape filters you're thinking about?
Regards
Hi, ok no problem. Is a bit hard to draw. But I think with LazPaint is possible.
The thing about Inkscape filters is these are SVG filters. Also available in browsers that display SVG files created with Inkscape. I think browsers use Inkscape code to display SVG... or these filters are as well part of the standard? I don't know...
The thing is if you try to load that SVG file with LazPaint is all white, it doesn't have the inner shadow in the SVG.
I recall that one SVG file you made for BGRABitmap with a shadow effect contained actually a bitmap of the shadow, generated by Inkscape.
Oh but looking at the code of the SVG file of the WinDS dragon, there are indeed SVG filters:
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter5240"
x="-0.086992001"
y="-0.080155753"
width="1.173984"
height="1.1603115"><feFlood
flood-opacity="0.498039"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood5230" /><feComposite
in="flood"
in2="SourceGraphic"
operator="out"
result="composite1"
id="feComposite5232" /><feGaussianBlur
in="composite1"
stdDeviation="1.5"
result="blur"
id="feGaussianBlur5234" /><feOffset
dx="0"
dy="0"
result="offset"
id="feOffset5236" /><feComposite
in="offset"
in2="SourceGraphic"
operator="atop"
result="composite2"
id="feComposite5238" /></filter>
There are a lot of filters, that according to the SVG code are small settings, that produce an effect.