| OLD | NEW |
| 1 # Image Capture API | 1 # Image Capture API |
| 2 | 2 |
| 3 This folder contains the implementation of the [W3C Image Capture API]. | 3 This folder contains the implementation of the [W3C Image Capture API]. |
| 4 Image Capture was shipped in Chrome M59; please consult the | 4 Image Capture was shipped in Chrome M59; please consult the |
| 5 [Implementation Status] if you think a feature should be available and isn't. | 5 [Implementation Status] if you think a feature should be available and isn't. |
| 6 | 6 |
| 7 [W3C Image Capture API]: https://w3c.github.io/mediacapture-image/ | 7 [W3C Image Capture API]: https://w3c.github.io/mediacapture-image/ |
| 8 [Implementation Status]: https://github.com/w3c/mediacapture-image/blob/master/i
mplementation-status.md | 8 [Implementation Status]: https://github.com/w3c/mediacapture-image/blob/master/i
mplementation-status.md |
| 9 | 9 |
| 10 This API is structured around the [ImageCapture class] _and_ a number of | 10 This API is structured around the [ImageCapture class] _and_ a number of |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 ### Photo settings and capabilities | 37 ### Photo settings and capabilities |
| 38 | 38 |
| 39 The photo-specific options and settings are associated to `theImageCapturer` or | 39 The photo-specific options and settings are associated to `theImageCapturer` or |
| 40 `theTrack` depending on whether a given capability/setting has an immediately | 40 `theTrack` depending on whether a given capability/setting has an immediately |
| 41 recognisable effect on `theTrack`, in other words if it's "live" or not. For | 41 recognisable effect on `theTrack`, in other words if it's "live" or not. For |
| 42 example, changing the zoom level is instantly reflected on the `theTrack`, | 42 example, changing the zoom level is instantly reflected on the `theTrack`, |
| 43 while connecting the Red Eye Reduction, if available, is not. | 43 while connecting the Red Eye Reduction, if available, is not. |
| 44 | 44 |
| 45 | Object |type | retrieved by...
| | 45 | Object |type | retrieved by...
| |
| 46 | :-- |:-- | --:
| | 46 |:------------------------ |:------------------- | -----------------------------
----------:| |
| 47 |[`PhotoCapabilities`] |non-live capabilities|`theImageCapturer.getPhotoCapa
bilities()`| | 47 |[`PhotoCapabilities`] |non-live capabilities|`theImageCapturer.getPhotoCapa
bilities()`| |
| 48 |[`MediaTrackCapabilities`]|live capabilities |`theTrack.getCapabilities()`
| | 48 |[`MediaTrackCapabilities`]|live capabilities |`theTrack.getCapabilities()`
| |
| 49 | | |
| | 49 | | |
| |
| 50 |[`PhotoSettings`] |non-live settings |
| | 50 |[`PhotoSettings`] |non-live settings |
| |
| 51 |[`MediaTrackSettings`] |live settings |`theTrack.getSettings()`
| | 51 |[`MediaTrackSettings`] |live settings |`theTrack.getSettings()`
| |
| 52 | 52 |
| 53 [`PhotoCapabilities`]: https://w3c.github.io/mediacapture-image/##photocapabilit
ies-section | 53 [`PhotoCapabilities`]: https://w3c.github.io/mediacapture-image/##photocapabilit
ies-section |
| 54 [`MediaTrackCapabilities`]: https://w3c.github.io/mediacapture-image/#mediatrack
capabilities-section | 54 [`MediaTrackCapabilities`]: https://w3c.github.io/mediacapture-image/#mediatrack
capabilities-section |
| 55 [`PhotoSettings`]: https://w3c.github.io/mediacapture-image/##photosettings-sect
ion | 55 [`PhotoSettings`]: https://w3c.github.io/mediacapture-image/##photosettings-sect
ion |
| 56 [`MediaTrackSettings`]: https://w3c.github.io/mediacapture-image/#mediatracksett
ings-section | 56 [`MediaTrackSettings`]: https://w3c.github.io/mediacapture-image/#mediatracksett
ings-section |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 | 123 |
| 124 ## Testing | 124 ## Testing |
| 125 | 125 |
| 126 Sensors layout tests are located in [LayoutTests/imagecapture], | 126 Sensors layout tests are located in [LayoutTests/imagecapture], |
| 127 [LayoutTests/fast/imagecapture] and [LayoutTests/external/mediacapture-image]. | 127 [LayoutTests/fast/imagecapture] and [LayoutTests/external/mediacapture-image]. |
| 128 | 128 |
| 129 [LayoutTests/imagecapture]: https://chromium.googlesource.com/chromium/src/+/mas
ter/third_party/WebKit/LayoutTests/imagecapture | 129 [LayoutTests/imagecapture]: https://chromium.googlesource.com/chromium/src/+/mas
ter/third_party/WebKit/LayoutTests/imagecapture |
| 130 [LayoutTests/fast/imagecapture]: https://chromium.googlesource.com/chromium/src/
+/master/third_party/WebKit/LayoutTests/fast/imagecapture/ | 130 [LayoutTests/fast/imagecapture]: https://chromium.googlesource.com/chromium/src/
+/master/third_party/WebKit/LayoutTests/fast/imagecapture/ |
| 131 [LayoutTests/external/mediacapture-image]: https://chromium.googlesource.com/chr
omium/src/+/master/third_party/WebKit/LayoutTests/external/wpt/mediacapture-imag
e/ | 131 [LayoutTests/external/mediacapture-image]: https://chromium.googlesource.com/chr
omium/src/+/master/third_party/WebKit/LayoutTests/external/wpt/mediacapture-imag
e/ |
| 132 | 132 |
| OLD | NEW |