[whatwg] Rich Paste & DataTransfer / DataTransferItems API
Glenn Maynard
glenn at zewt.org
Mon Mar 14 20:32:18 PDT 2011
On Mon, Mar 14, 2011 at 11:19 PM, Daniel Cheng <dcheng at chromium.org> wrote:
> Isn't there an image resize API? IMO, that sounds like things that should
be
> handled by that API.
That's what Canvas itself is for.
In principle, it could optimize for Canvas use (uncompressed), and punt to
Canvas for a more complete compression interface. That doesn't solve it
nicely right now, since there's not yet an API to get a Blob from Canvas
(there's only toDataURL), but that'd be a separate problem (and is needed
anyway, eventually). I don't have a strong feeling for whether that's
actually a good idea or not.
--
Glenn Maynard
More information about the whatwg
mailing list