W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2014

[whatwg] CanvasRenderingContext2D and CSS Image filters

From: Vivek Galatage <vivekg@chromium.org>
Date: Thu, 18 Sep 2014 23:45:06 +0530
Message-ID: <CA+ycFOwE+ZN4gS+R5-SbqRioTUT=WgK_zv+8NJRK_f46Z-jD2A@mail.gmail.com>
To: whatwg@whatwg.org
Hi all,

I just wrote a test case which involves applying a CSS image filter
(--webkit-filter or filter) using a grayscale filter.

With this image element, I used a canvas rendering context 2d to drawImage.
Here is the link, http://imgur.com/7OgXEwp, to the screenshot of the
behavior on chrome and FF.

The question is: Should the filter even be applied to the bitmap drawn on
the canvas?

Thank you,
Received on Thursday, 18 September 2014 18:15:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:30 UTC