W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2011

[whatwg] Size of SVG->Img->Canvas

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 18 Nov 2011 12:26:57 +1300
Message-ID: <4EC59841.6060901@mit.edu>
On 11/18/11 12:14 PM, Gavin Kistner wrote:
> Add one followup: what if you draw the image to the canvas at a 'large' resolution, drawImage(img,0,0,200,200)?
> Presumably this shouldn't change what source pixels are used for `drawImage`.

You're still assuming there are "source pixels". There aren't.  There's 
a source vector graphic.

> However, I've added this test to my URL above and we see that Chrome has perfectly anti-aliashed circles in all cases, where Firefox is visibly upscaling a lower-resolution bitmap.

I consider this a Gecko bug.

Received on Thursday, 17 November 2011 15:26:57 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:37 UTC