http://granite.sru.edu/~ddailey/svg/feComponentTransferGreen.svg 

 

In it I tried inverting all three color channels in the ellipse on the right
by 

<feComponentTransfer>             

<feFuncR type="table" tableValues="1 0"/>       

               <feFuncG type="table" tableValues="1 0"/>       

<feFuncB type="table" tableValues="1 0"/>       

  </feComponentTransfer>

 

Results are as expected in that black à white (and vice versa), red à cyan
(and vice versa), blue à yellow, and yellow à blue.

 

However gray does not map to gray (I had to use stroke=”#bbb” to get
apparent identity of the unfiltered and filtered colors

And green does not map to magenta rather to a quite washed out pink; and
magenta maps to a light yellow green.

 

I’m assuming this has to do with the gamma of my monitor? (presumably
different for Macs and PCs?). Sigh… I was hoping not to have to learn about
that.

 

What gamma adjustment might one apply, perhaps by chaining another instance
of feComponentTransfer after the first, so as to properly preserve the
mappings black à white, red à cyan, blue à yellow, and yellow à blue, and
yet to add green ßà magenta? I fooled around with a few, and though I was
able to adjust the green – magenta scale using gamma, it also seemed to muck
up the other mappings as well. I would hope that this rather  task is not
impossible.

 

Cheers

David

 



[Non-text portions of this message have been removed]



------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to