Re: [fxtf-drafts] Luminance masking is slower than alpha masking

@jrmuizel The use case for JPEG is that it is usually a smaller file size for representing photographic image, and it has better browser support than similar formats with alpha channels.

Also, you may be re-using images that you're using elsewhere in the design.  Being able to use the luminance mask can in some cases remove the need to create dedicated image assets for the mask.  This will be even more true when the `filter(<image>)` function is supported, so you can adjust contrast/brightness dynamically in the browser.

For @mstange's question: Last I checked Firefox was the only one that has shipped mask-image un-prefixed. `-webkit-mask-image` doesn't include luminance masking.

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

Received on Saturday, 29 April 2017 00:54:49 UTC