[whatwg] Image resize API proposal

Summarizing
We've found that a synchronous solution will likely lead to a bad user
experience. As an alternative, we've presented an async
api<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-May/026292.html>which
solves this frequent use
case<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-May/026435.html>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):

image.
getBlob(mimeType /* req */, width /* req */, height /* req */, successEvent /*
req */, errorEvent /* op */, qualityLevel /* op */, preserveAspectRatio /*
op */, rotateExif /* op */);



dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100527/e713f111/attachment.htm>

Received on Thursday, 27 May 2010 10:54:46 UTC