Re: feComponentTransfer
Adam <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.svg |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <0ac45d73-2d2b-46a9-8f80-0931e35999a8@v36g2000yqv.googlegroups.com> |
On 3 srp, 07:15, Boris Zbarsky <[email protected]> wrote: > Adam wrote: > > When I use linear feComponentTransfer filter in Mozilla I do not get > > behaviour according the w3c standart. For example for c = 0.5 and blue > > box(blue=255 others 0) I get color blue ~ 180, but when I use > > inkscape or F-spot I get color with value of b = 123, which I believe > > is according the w3c. > > I'm not following. For a linear feComponentTransfer, you need to > specify slope and intercept. What are you specifying for those? > > -Boris I am sorry, slope is 0.5 (that is what I called c) and intercept 0. But the issue is that in different programs I get very different results. In one case blue(255) is transferd to blue 180 and in thers to blue 127 (I wrote 123, but should be 127). But I think for these parametrs it should be 127.