- From: Vivek Galatage <vivekg@chromium.org>
- Date: Fri, 19 Sep 2014 00:29:59 +0530
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: WHATWG List <whatwg@whatwg.org>
Oh I see, thanks for the clarification. :) On Fri, Sep 19, 2014 at 12:02 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote: > On Thu, Sep 18, 2014 at 11:15 AM, Vivek Galatage <vivekg@chromium.org> > wrote: > > Hi all, > > > > I just wrote a test case which involves applying a CSS image filter > > (--webkit-filter or filter) using a grayscale filter. > > http://jsfiddle.net/whyn9075/ > > > > 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? > > CSS filters are a rendering-time operation. They don't do anything to > the image data itself, which is what <canvas> uses when you call > drawImage(). > > ~TJ >
Received on Thursday, 18 September 2014 19:00:26 UTC