W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

Re: [csswg-drafts] [filter-effects-1] Clarify equivalent markup for filter functions (#5704)

From: Marek Pepke via GitHub <sysbot+gh@w3.org>
Date: Tue, 19 Jan 2021 20:41:40 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-763126674-1611088899-sysbot+gh@w3.org>
> (which can be questionable)

I'd like to add a `+1` to the questionability of that decision.
This thing bit me today, when I was investigating, why my `filter: grayscale(1);` produces such poor results.
After some digging, I learned about gamma correction, and ended up with something like this:
`filter: url('/gamma.svg#pre') grayscale(1) url('/gamma.svg#post');`
which finally looks normal.

Is there still a chance to fix those color filter functions?

GitHub Notification of comment by pepkin88
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5704#issuecomment-763126674 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 19 January 2021 20:41:43 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:25 UTC