W3C home > Mailing lists > Public > public-media-capture@w3.org > March 2012

Re: PROPOSAL: Simple image capture API

From: Anant Narayanan <anant@mozilla.com>
Date: Tue, 13 Mar 2012 11:29:40 -0700
Message-Id: <0C6A1234-3AE6-4CC3-B07B-E7DBE3CA066B@mozilla.com>
To: public-media-capture@w3.org
On Mar 13, 2012, at 11:13 AM, Travis Leithead wrote:
> This has been said already, but I'll say it again... If you want "dead simple", then you should use the declarative-based approach. You can take pictures and submit them to servers without any script at all. This task force isn't really looking at the declarative model, though DAP has the spec. I think your feedback is certainly relevant for that spec.

The declarative approach is not an API. There are cases where it is useful to be able to do this from script (and input.click() is not the "correct" way to achieve this), for instance if the app wants make changes to image locally via <canvas> before sending it off to the server (we have a real use case for this: Instagram).

I think this task force is the right place to define that API, as a complement to the declarative approach.

Received on Tuesday, 13 March 2012 18:30:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:09 UTC