JavaScripture
Contribute via GitHub Feedback

ImageBitmap : Object

An image that can be passed to most CanvasRenderingContext methods in place of HTMLImageElements. ImageBitmaps are more efficient than creating HTMLImageElements DOM element if you don't need to render the element directly in the page. Created via window.createImageBitmap(). See also ImageBitmapRenderingContext.

Instance Properties

height : Number  

width : Number  

Instance Methods

close() : undefined

Releases the memory holding the bitmap data.