[prev in list] [next in list] [prev in thread] [next in thread] 

List:       whatwg
Subject:    Re: [whatwg] createImageData should take unsigned long
From:       "Robert O'Callahan" <robert () ocallahan ! org>
Date:       2009-08-31 23:56:16
Message-ID: 11e306600908311656i5c9f0a16j6b1fe4ca46a02ec1 () mail ! gmail ! com
[Download RAW message or body]

On Mon, Aug 31, 2009 at 11:06 PM, Anne van Kesteren <annevk@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]

[Attachment #3 (text/html)]

On Mon, Aug 31, 2009 at 11:06 PM, Anne van Kesteren <span dir="ltr">&lt;<a \
href="mailto:annevk@opera.com">annevk@opera.com</a>&gt;</span> wrote:<br><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; \
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> 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.<font \
color="#888888"></font></blockquote> <div>  </div></div>I think we can do better than \
that. It&#39;s fine to use high-dpi backing store automatically for &lt;canvas&gt; in \
general. ImageData is the only situation where it matters if there&#39;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.<br> <br>Rob<br>-- \
<br>&quot;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.&quot; [Isaiah 53:5-6]<br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic