ImageBitmap: width property

Note: This feature is available in Web Workers.

The ImageBitmap.width read-only property returns the ImageBitmap object's width in CSS pixels.

Value

A number represents the ImageBitmap object's width in CSS pixels.

Specifications

Specification
HTML
# dom-imagebitmap-width-dev

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
width

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support