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

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

--- Comment #5 from Tab Atkins Jr. <jackalmage@gmail.com> 2011-12-02 19:27:15 UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> > But an image generated with 1 image pixel = 1 backing-store pixel will look
> > double-size.
> > 
> > So, we've gotta make some sacrifices somewhere.
> 
> Right. So do you make things lossy but work for naive web developers, or
> non-lossy but require a bit more web author smarts? We went the latter route
> for getImageData().

Yes, and I think that was the right choice - when you're pulling out the image
data explicitly, you generally actually want the real data.

However, there's no way to express the dpi of an image in a way that a web
browser will automatically pay attention to, unfortunately.

-- 
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:27:21 UTC