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

@AmeliaBR wrote:

> Because browsers ignore the color channel of feTurbulence when alpha is zero, you end up with black patches where you lose all the random data from the other channels, no matter how much you try to manipulate the image later.

Loosing color precision is a known issue with premultiplied alpha; at the limit, an alpha of zero looses all precision and the original color is completely gone.

This is unavoidable when only the premultiplied value is stored. It is avoidable and somewhat tragic, if the unpremultiplied values (separate alpha) are stored, but then "for consistency" an alpha of 0/255 results in the color channels being knocked out to black (while at an alpha of 1/255, the color channels are left as-is. IIRC this is what Photoshop does, and it bugs me).

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/113#issuecomment-447439964 using your GitHub account

Received on Friday, 14 December 2018 20:07:37 UTC