Skip to search.
svg-developers · SVG Developers

Group Information

  • Members: 5539
  • Category: Data Formats
  • Founded: Aug 16, 1999
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Why doesn't feDisplacementMap center around the neutral color (127/1   Message List  
Reply Message #62358 of 65684 |
Re: Why doesn't feDisplacementMap center around the neutral color (127/127/127)?

Sorry for the double post. Sent the first one per mail and when it didn't appear
I posted again on the group page, which then told me that the post was awaiting
moderation.

Anyway, I just got an answer from Holger Will and thought I'd repeat it here for
all the other souls seeking for a solution to this problem:

The solution is that SVG by default uses the input in the LinearRGB color space,
which strangely means that the input isn't interpreted linearly. Simply switch
to the sRGB color mode and everything works like any sane person would expect it
to work in the first place:

<svg:feDisplacementMap color-interpolation-filters="sRGB" in="image"
in2="displacement" scale="255" xChannelSelector="R" yChannelSelector="G" />




Mon May 25, 2009 11:12 am

hansschmucker
Offline Offline
Send Email Send Email

Message #62358 of 65684 |
Expand Messages Author Sort by Date

I've come across this issue a number of times, but I'm still unable to resolve or even understand it. When you add an feDisplacementMap pass to a filter chain....
Hans Schmucker
hansschmucker Offline Send Email
May 25, 2009
12:37 am

I've come across this issue a number of times, but I'm still unable to resolve or even understand it. When you add an feDisplacementMap pass to a filter chain....
hansschmucker Offline Send Email May 25, 2009
12:38 am

Sorry for the double post. Sent the first one per mail and when it didn't appear I posted again on the group page, which then told me that the post was...
hansschmucker Offline Send Email May 25, 2009
11:13 am
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help