[Bug 15041] Clarify dimensions of image returned by Canvas toDataURL

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15041

--- Comment #3 from Tab Atkins Jr. <jackalmage@gmail.com> 2011-12-02 19:22:05 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> 
> > toDataURL should be producing an image identical to what's displayed in the
> > canvas.  If it produces an image with one image pixel = one backing store
> > pixel, then it won't roundtrip through canvas, which your spec quote implies
> > should happen.
> > 
> > toDataURL, thus, should use screen pixels, not backing store pixels.
> 
> These two statements are not logically consistent. If the canvas has 2x backing
> store, but toDataURL uses screen pixels, then the toDataURL image will look
> fuzzy compared to the canvas on a 2x display.

But an image generated with 1 image pixel = 1 backing-store pixel will look
double-size.

So, we've gotta make some sacrifices somewhere.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 2 December 2011 19:22:09 UTC