PhotoCapabilities.imageWidth

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The imageWidth read-only property of the PhotoCapabilities interface returns a MediaSettingsRange object indicating the image width range supported by the user agent.

Syntax

var mediaSettingsRange = photoCapabilities.imageWidth

Value

A MediaSettingsRange is an object.

Specifications

Specification
MediaStream Image Capture
# dom-photocapabilities-imagewidth

Browser compatibility

BCD tables only load in the browser