Search completed in 0.83 seconds.
8 results for "PhotoSettings":
ImageCapture.getPhotoSettings() - Web APIs
the get
photosettings() method of the imagecapture interface returns a promise that resolves with a
photosettings object containing the current photo configuration settings.
... syntax const settingspromise = imagecapture.get
photosettings() return value a promise that resolves with a
photosettings object containing the following properties: filllightmode: the flash setting of the capture device, one of "auto", "off", or "on".
... 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.
...m; const track = mediastream.getvideotracks()[0]; imagecapture = new imagecapture(track); return imagecapture.getphotocapabilities(); }) .then(photocapabilities => { const settings = imagecapture.track.getsettings(); input.min = photocapabilities.imagewidth.min; input.max = photocapabilities.imagewidth.max; input.step = photocapabilities.imagewidth.step; return imagecapture.get
photosettings(); }) .then(
photosettings => { input.value =
photosettings.imagewidth; }) .catch(error => console.log('argh!', error.name || error)); specifications specification status comment mediastream image capturethe definition of 'get
photosettings()' in that specification.
ImageCapture.takePhoto() - Web APIs
syntax const blobpromise = imagecaptureobj.takephoto([
photosettings]) parameters
photosettings optional an object that sets options for the photo to be taken.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettakephoto experimentalchrome full support 60 full support 60 no support 59 — 60notes notes
photosettings argument not supported.edge full support ≤79firefox ?
... opera full support 47 full support 47 no support 46 — 47notes notes
photosettings argument not supported.safari ?
...And 3 more matches
ImageCapture.getPhotoCapabilities() - Web APIs
m; const track = mediastream.getvideotracks()[0]; imagecapture = new imagecapture(track); return imagecapture.getphotocapabilities(); }) .then(photocapabilities => { const settings = imagecapture.track.getsettings(); input.min = photocapabilities.imagewidth.min; input.max = photocapabilities.imagewidth.max; input.step = photocapabilities.imagewidth.step; return imagecapture.get
photosettings(); }) .then(
photosettings => { input.value =
photosettings.imagewidth; }) .catch(error => console.log('argh!', error.name || error)); specifications specification status comment mediastream image capturethe definition of 'getphotocapabilities()' in that specification.
ImageCapture - Web APIs
imagecapture.get
photosettings() returns a promise that resolves with a
photosettings object containing the current photo configuration settings.
Index - Web APIs
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.
MediaSettingsRange - Web APIs
m; const track = mediastream.getvideotracks()[0]; imagecapture = new imagecapture(track); return imagecapture.getphotocapabilities(); }) .then(photocapabilities => { const settings = imagecapture.track.getsettings(); input.min = photocapabilities.imagewidth.min; input.max = photocapabilities.imagewidth.max; input.step = photocapabilities.imagewidth.step; return imagecapture.get
photosettings(); }) .then(
photosettings => { input.value =
photosettings.imagewidth; }) .catch(error => console.log('argh!', error.name || error)); specifications specification status comment mediastream image capturethe definition of 'mediasettingsrange' in that specification.
PhotoCapabilities - Web APIs
m; const track = mediastream.getvideotracks()[0]; imagecapture = new imagecapture(track); return imagecapture.getphotocapabilities(); }) .then(photocapabilities => { const settings = imagecapture.track.getsettings(); input.min = photocapabilities.imagewidth.min; input.max = photocapabilities.imagewidth.max; input.step = photocapabilities.imagewidth.step; return imagecapture.get
photosettings(); }) .then(
photosettings => { input.value =
photosettings.imagewidth; }) .catch(error => console.log('argh!', error.name || error)); specifications specification status comment mediastream image capturethe definition of 'photocapabilities' in that specification.