W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > June 2017

Re: [fxtf-drafts] [filter-effects] Why can't opacity() filter function ever increase opacity?

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Sat, 10 Jun 2017 16:29:35 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-307575604-1497112173-sysbot+gh@w3.org>
Inputs and outputs would be clamped.  The multiplicative factor would not be clamped.  So `opacity(200%)` would double the per-pixel alpha values of the input image, and then clamp them (per pixel) to the range 0-1.

The equivalent long-hand definition would be:

<filter id="opacity">
      <feFuncA type="linear" slope="[amount]"/>

where `[amount]` is the shorthand parameter as a decimal number.

GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/178#issuecomment-307575604 using your GitHub account
Received on Saturday, 10 June 2017 16:29:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:21 UTC