W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2010

[whatwg] Image resize API proposal

From: David Levin <levin@google.com>
Date: Thu, 27 May 2010 10:54:46 -0700
Message-ID: <AANLkTinHifFu-AAo58RuWyMCPPKyUe_QyOwDhwIX3ZCm@mail.gmail.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:23 UTC