Search completed in 1.15 seconds.
8 results for "photosettings":
ImageCapture.getPhotoSettings() - Web APIs
imageHeight: The desired image height as an integer. The user agent selects the closest width value to this setting if it only supports discrete heights. imageWidth: The desired image width as an integer. The user agent selects the closest width value to this setting if it only supports discrete widths. ...
...s discrete heights. imageWidth: The desired image width as an integer. The user agent selects the closest width value to this setting if it only supports discrete widths. redEyeReduction: A boolean indicating whether the red-eye reduction should be used if it is available. Example The following example, extracted from Chrome's Image Capture / Photo Resolution Sample, uses the results from get
PhotoSettings() to modify the size of an input range. This example also shows how the ImageCapture object is created using a MediaStreamTrack retrieved from a device's MediaStream. const input = document.querySelector('input[type="range"]'); var imageCapture; navigator.mediaDevices.getUserMedia({video: true}) .then(mediaStream => { document.querySelector('video').srcObject = mediaStream; const track = ...
... Working Draft Initial definition. ...
...And 3 more matches
ImageCapture.takePhoto() - Web APIs
The available options are: fillLightMode: The flash setting of the capture device, one of "auto", "off", or "flash". imageHeight: The desired image height as an integer. ...
...The available options are: fillLightMode: The flash setting of the capture device, one of "auto", "off", or "flash". imageHeight: The desired image height as an integer. ...
...t-data and send us a pull request. ...
...And 4 more matches
MediaSettingsRange - Web APIs
Working Draft Initial definition. ...
... Working Draft Initial definition. ...
... Working Draft Initial definition. ...
PhotoCapabilities - Web APIs
Working Draft Initial definition. Browser Compatibility The compatibility table on this page...
... Working Draft Initial definition. Browser Compatibility The compatibility table on this page is generated from structu...
... Working Draft Initial definition. Browser Compatibility The compatibility table on this page is generated from structured data. If you'd like to contribu...
ImageCapture - Web APIs
terface as well as the ones listed below. ImageCapture.takePhoto() Takes a single exposure using the video capture device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data. ImageCapture.getPhotoCapabilities() Returns a Promise that resolves with a PhotoCapabilities object containing the ranges of available configuration options. ImageCapture.get
PhotoSettings() Returns a Promise that resolves with a
PhotoSettings object containing the current photo configuration settings. ImageCapture.grabFrame() Takes a snapshot of the live video in a MediaStreamTrack, returning an ImageBitmap, if successful. Example The following code is taken from Chrome's Grab Frame - Take Photo Sample. Since ImageCapture requires some place to capture an image from, the exa...
Index - Web APIs
ImageCapture.getPhotoCapabilities() API, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Method, Reference, getPhotoCapabilities The getPhotoCapabilities() method of the ImageCapture interface returns a Promise that resolves with a PhotoCapabilities object containing the ranges of available configuration options. 2142 ImageCapture.get
PhotoSettings() API, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Method, Reference, get
PhotoSettings The get
PhotoSettings() property of the ImageCapture interface returns a Promise that resolves with a
PhotoSettings object containing the current photo configuration settings. 2143 ImageCapture.grabFrame() API, Experimental, Image, Image Captur...
PhotoCapabilities.redEyeReduction - Web APIs
m indicating the red-eye reduction capability of the source. Syntax const redEyeReduction = photoCapabilities.redEyeReduction Value One of "never", "always", or "controllable". never Red-eye reduction is not available. always Red-eye reduction is available in the source and it is always turned on. controllable Red-eye reduction is available in the source and it is configurable via the
PhotoSettings object. Specifications Specification Status Comment MediaStream Image CaptureThe definition of 'redEyeReduction' in that specification. Working Draft Initial definition. Browser Compatibility The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-comp...