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

Boris Zbarsky bzbarsky at MIT.EDU
Thu Nov 17 15:26:57 PST 2011


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.

-Boris




More information about the whatwg mailing list