This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

PhotoSettings

Summary

The PhotoSettings object is optionally passed into the ImageCapture.setOptions() method in order to modify capture device settings specific to still imagery.

Properties

autoExposureMode
This reflects the desired auto exposure mode setting.
autoWhiteBalanceMode
This reflects whether automatic White Balance Mode selection is desired.
brightness
This reflects the desired brightness setting of the camera.
contrast
This reflects the desired contrast setting of the camera.
exposureCompensation
This reflects the desired exposure compensation setting.
imageHeight
This reflects the desired image height.
imageWidth
This reflects the desired image width.
iso
This reflects the desired camera ISO setting.
redEyeReduction
This reflects whether camera red eye reduction is desired.
saturation
This reflects the desired saturation setting of the camera.
sharpness
This reflects the desired sharpness setting of the camera.
whiteBalanceMode
This reflects the desired white balance mode setting.

Methods

No methods.

Events

No events.

Related specifications

Mediastream Image Capture
W3C Editor’s draft

See also

Related articles

Mobile