GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • MDN
  • HTML: Markup language
  • Elements
  • Global attributes
  • Attributes
  • See all…
  • Responsive images
  • HTML cheatsheet
  • Date & time formats
  • See all…
  • SVG
  • MathML
  • XML
  • CSS: Styling language

This view

  • Original page
  • New address

GeezerVison is showing developer.mozilla.org — ImageBitmap - Web APIs | MDN

ImageBitmap

Baseline
Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2021.

  • See full compatibility
  • Learn more

Note: This feature is available in Web Workers.

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 Window.createImageBitmap() or WorkerGlobalScope.createImageBitmap() factory method. ImageBitmap provides an asynchronous and resource efficient pathway to prepare textures for rendering in WebGL.

ImageBitmap is a transferable object.

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

  • Window.createImageBitmap
  • WorkerGlobalScope.createImageBitmap
  • CanvasRenderingContext2D.drawImage()
  • WebGLRenderingContext.texImage2D()
  • OffscreenCanvas.transferToImageBitmap()

Help improve MDN

Learn how to contribute

This page was last modified on May 16, 2025 by MDN contributors.

View this page on GitHub • Report a problem with this content
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.