<meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div><div>Summarizing</div><div>We've found that a synchronous solution will likely lead to a bad user experience. As an alternative, we've <a href=" http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-May/026292.html">presented an async api</a> which solves this frequent <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-May/026435.html">use case</a> for web pages (which may involve many images at once) and allows the UA to optimize the operation (by using the GPU and/or multiple threads):</div>
<div><br></div></div></span><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: small;">image.</span></font></div></div><span class="Apple-style-span" style="border-collapse: separate; white-space: pre; "><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: small;">getBlob(mimeType /* req */, width /* req */, height /* req */, successEvent </span></font></span><span class="Apple-style-span" style="border-collapse: separate; white-space: pre; "><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: small;">/* req */, errorEvent /* op */, qualityLevel /* op */, preserveAspectRatio </span></font></span><span class="Apple-style-span" style="border-collapse: separate; white-space: pre; "><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: small;">/* op */, rotateExif /* op */);</span></font></span></span></blockquote>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div><div><br></div><div><br></div><div>dave</div></div><div><br></div></span><br>