W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > May 2019

Re: [fxtf-drafts] [filter-effects] Browsers don't match spec for feDisplacementMap (#113)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Wed, 01 May 2019 14:39:56 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-488300643-1556721595-sysbot+gh@w3.org>
> Explicitly state that the displacement input into feDisplacementMap doesn't care about the colorspace of the input. Regardless of whether the input is linear (as in the feFlood example above) or sRGB (when it's loaded from an image), if it contains #808080 then there's no shift. This means color-interpolation-filters is ignored by feDisplacementMap.

Yes. The data in the color channels for the in2 image is not treated as a color. It is treated as a 0 to 255 displacement amount. Thus alpha is ignored gamma and chromaticity and ICC profiles are ignored, because the raw image data is not being interpreted as a color. 

The spec already states this regarding alpha, but could state the rest more clearly.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/113#issuecomment-488300643 using your GitHub account
Received on Wednesday, 1 May 2019 14:39:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 1 May 2019 14:39:58 UTC