[whatwg] createImageData should take unsigned long

Robert O'Callahan robert at ocallahan.org
Mon Aug 31 16:56:16 PDT 2009


On Mon, Aug 31, 2009 at 11:06 PM, Anne van Kesteren <annevk at opera.com>wrote:

> Once we get huge screens and lots of processing power people can just blow
> up the canvas grid and then scale it down with CSS. Works just as well and
> makes the data more portable.


I think we can do better than that. It's fine to use high-dpi backing store
automatically for <canvas> in general. ImageData is the only situation where
it matters if there's more than one device pixel per CSS pixel, and authors
should be able to opt into taking advantage of that fact, but not be exposed
to it by default, IMHO.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090901/ead66cc4/attachment-0002.htm>


More information about the whatwg mailing list