- From: Marcos Caceres <notifications@github.com>
- Date: Tue, 22 Sep 2015 15:29:02 -0700
- To: WICG/img-conversion <img-conversion@noreply.github.com>
Received on Tuesday, 22 September 2015 22:29:29 UTC
Sorry, you are correct. It's CanvasRenderingContext2D that I, and many others, hate. I guess the only other API I can think of the top of my head is Fetch's Request.blob() - which returns a promise: https://fetch.spec.whatwg.org/#dom-body-blob I generally agree about consistency, but are we not already modifying the signature of .toBlob() by dropping the callback as the first argument? --- Reply to this email directly or view it on GitHub: https://github.com/WICG/img-conversion/issues/13#issuecomment-142439797
Received on Tuesday, 22 September 2015 22:29:29 UTC