[whatwg] Bicubic filtering on context.drawImage

Justin Novosad junov at google.com
Fri Mar 14 11:40:39 PDT 2014

On Fri, Mar 14, 2014 at 2:29 PM, Ian Hickson <ian at hixie.ch> wrote:
> > I scale down images using context.drawImage. There is no way for me to
> > opt in for which filter method to use. I thought it was a bug first,
> > because I thought context.webkitImageSmoothingEnabled did the job. But
> > it didn't. So I filed a bug for chrome. But they suggested me to email
> > you guys.
> >
> > https://code.google.com/p/chromium/issues/detail?id=326640
> If the bug is that Chrome resamples the image in an ugly way, then that's
> a bug with Chrome. As the bug says, browsers are allowed to pick whatever
> algorithm they want -- it's a quality-of-implementation issue. But if the
> result is ugly, that's a low quality implementation.

Yes, and if we fixed it to make it prettier, people would complain about a
performance regression. It is impossible to make everyone happy right now.
Would be nice to have some kind of speed versus quality hint.

More information about the whatwg mailing list