De : Jasper van de Gronde <th.v.d.gronde@...528...>
À : Inkscape-devel@lists.sourceforge.net
Envoyé le
: Samedi, 1 Août 2009, 11h23mn 47s
Objet : Re: [Inkscape-devel] Extracting a saturation map with SVG filters ?
Ivan Louette wrote:
> I can't figure how I could extract a saturation map (as a greyscale
> image) with SVG filters. My idea is using it to replace any hue of an
> image with only one like it's done with cyan in the joined png created
> with Xara Xtreme Linux Edition. I am searching for a long time already
> but without success. Perhaps not possible.
My guess would be that it should be possible to at least compute a rough
approximation of the operation by simply trying to approximate the
function(s) involved. I've done such things to simulate conical
gradients, and it can work reasonably well (although the quality of the
approximation is often dependent on the renderer):
http://wiki.inkscape.org/wiki/index.php/Advanced_Gradients> In Xara I only put a cyan rectangle above the image and apply the "Hue"
> transparency type. I was able to synthezize all Xara's color effects but
> this one.
I'm afraid I'm too busy at the moment to give it a go myself, but I hope
you'll succeed :) I think it's quite interesting what can be done within
the confines of SVG filters, and I really hope the possibilities will be
improved in later versions of the standard (and that the renderers catch
up).
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new
with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/inkscape-devel