[whatwg] Image resize API proposal

David Levin levin at google.com
Thu May 27 10:54:46 PDT 2010


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-0002.htm>


More information about the whatwg mailing list