この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

The ImageBitmap interface represents a bitmap image which can be drawn to a <canvas> without undue latency. It can be created from a variety of source objects using the createImageBitmap() factory method. ImageBitmap provides an asynchronous and resource efficient pathway to prepare textures for rendering in WebGL.

Properties

ImageBitmap.height Read only
Is an unsigned long representing the height, in CSS pixels, of the ImageData.
ImageBitmap.width Read only
Is an unsigned long representing the width, in CSS pixels, of the ImageData.

Methods

ImageBitmap.close()

Disposes of all graphical resources associated with an ImageBitmap.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'ImageBitmap' in that specification.
Living Standard  

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support 50Edge No support NoFirefox Full support 42IE No support NoOpera Full support 37Safari No support NoWebView Android No support NoChrome Android Full support 50Edge Mobile Full support YesFirefox Android Full support 42Opera Android Full support 37Safari iOS ? Samsung Internet Android Full support 5.0
heightChrome Full support YesEdge ? Firefox Full support 42IE ? Opera ? Safari ? WebView Android ? Chrome Android Full support YesEdge Mobile ? Firefox Android Full support 42Opera Android ? Safari iOS Full support YesSamsung Internet Android Full support Yes
widthChrome Full support YesEdge No support NoFirefox Full support 42IE ? Opera ? Safari ? WebView Android ? Chrome Android Full support YesEdge Mobile No support NoFirefox Android Full support 42Opera Android ? Safari iOS Full support YesSamsung Internet Android Full support Yes
closeChrome Full support 52Edge ? Firefox Full support 46IE No support NoOpera Full support 37Safari No support NoWebView Android Full support 52Chrome Android Full support 52Edge Mobile ? Firefox Android Full support 46Opera Android Full support 37Safari iOS No support NoSamsung Internet Android Full support 6.0

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown

See also

ドキュメントのタグと貢献者

このページの貢献者: fscholz, Halfman, jpmedley, Kaku, adria
最終更新者: fscholz,