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

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:

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

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