MDN Web Docs

Instance properties

ImageBitmap.height Read only

An unsigned long representing the height, in CSS pixels, of the ImageBitmap.

ImageBitmap.width Read only

An unsigned long representing the width, in CSS pixels, of the ImageBitmap.

Instance methods

ImageBitmap.close()

Disposes of all graphical resources associated with an ImageBitmap.

Specifications

Specification
HTML
# imagebitmap

Browser compatibility

See also

Help improve MDN

Yes No

Learn how to contribute

This page was last modified on by MDN contributors.

Read the original on developer.mozilla.org ↗