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

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

From: Gavin Kistner <gkistner@nvidia.com>
Date: Thu, 17 Nov 2011 15:30:09 -0800
Message-ID: <01804B6F1D74DE41819D69F2866C60EF512A5491FB@HQMAIL03.nvidia.com>
From: Boris Zbarsky
> 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.

Good information, thanks.

>> 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.

Great, that definitely helps clear things up.

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
Received on Thursday, 17 November 2011 15:30:09 UTC

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