Blending modes on shapes

Post questions on how to use or achieve an effect in Inkscape.
mystery
Posts: 42
Joined: Fri May 15, 2009 11:58 am

Blending modes on shapes

Postby mystery » Sat Nov 13, 2010 4:41 pm

I realize Inkscape supports simple blending modes, but only on layers. Is it possible to enable these effects on individual shapes under one layer?

vwanweb
Posts: 169
Joined: Sun Jun 06, 2010 1:48 pm

Re: Blending modes on shapes

Postby vwanweb » Sat Nov 13, 2010 6:21 pm

yes it is possible to apply Blend Modes without the Layers feature, use the >Filters >Filters Editor...

Blend filtering uses foreground and background objects. So in the FIlters Editor you will need to drag one of the blend's (effect) connections to the background image , step 4 of attchment.

BlendFilters.png
Filters Editor _ Blend modes
BlendFilters.png (44.65 KiB) Viewed 8005 times


http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Filters-Dialog.html

hope this helps you out.

-vw

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: Blending modes on shapes

Postby ivan louette » Sun Nov 14, 2010 12:37 am

Yes, that works very well, but for that you must enable background in your document which isn't done by default in 0.48 and previous releases.

The best is to replace the default template by another one you will download here : http://www.openclipart.org/detail/92749 . Follow the explanation and that will work.

I also did versions of some Color filters which work on background images ; they are downloadable here : http://www.openclipart.org/detail/92767

ivan

mystery
Posts: 42
Joined: Fri May 15, 2009 11:58 am

Re: Blending modes on shapes

Postby mystery » Sun Nov 14, 2010 1:09 pm

Okay but first, what is this "background" in the document?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Blending modes on shapes

Postby ~suv » Sun Nov 14, 2010 4:17 pm

mystery wrote:Okay but first, what is this "background" in the document?

See the manual page (Inkscape » Filter Effects—Custom » Compositing Filter Primitives) for an explanation and the existing (easy) workaround:

    «Need to add “enable-background” tag!

    Inkscape has a problem in using one of these filters. When using either Background Image or Background Alpha as an input to the filter, the “enabled-background” tag must be added to the SVG file (this tells SVG renderers to keep a copy of the background in memory). This is not done. A work-around is to use the Layers dialog to add a Blend filter to a Layer. The Layer blend can then be removed, leaving the necessary tag in place. »
Related report in Inkscape's bug tracker:

mystery
Posts: 42
Joined: Fri May 15, 2009 11:58 am

Re: Blending modes on shapes

Postby mystery » Wed Nov 17, 2010 1:34 pm

Oh! Now I completely understand it. I hope this is fixed soon.


Return to “Help with using Inkscape”