coderef

createImageBitmapBaseline · Widely available

The createImageBitmap() global method creates an ImageBitmap object from a source such as an image, SVG, blob, or canvas. An ImageBitmap object represents pixel data that can be drawn to a canvas with lower latency than other types, such as ImageData.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Dec 11, 2023. Widely available since Jun 11, 2026.

Browser support

DesktopChrome
1–58Not supported
59+Supportedsince Jun 5, 2017
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–97Not supported
98+Supportedsince Mar 8, 2022
Current: 157
Safari
1–17.1Not supported
17.2+Supportedsince Dec 11, 2023
Current: 27
MobileChrome Android
18–58Not supported
59+Supportedsince Jun 6, 2017
Current: 155
Firefox Android
4–97Not supported
98+Supportedsince Mar 8, 2022
Current: 157
Safari iOS
1–17.1Not supported
17.2+Supportedsince Dec 11, 2023
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: ImageBitmap.

Feature detection

JS · check before using
if ("createImageBitmap" in globalThis) {
  // createImageBitmap is available
} else {
  // load a polyfill or use a fallback
}

Sub-features

Support for each part of the feature (13). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
ImageBitmap50794215504215
ImageBitmap.close52794615524615
ImageBitmap.height50794215504215
ImageBitmap.width50794215504215
createImageBitmap50794215504215
createImageBitmap.options_colorSpaceConversion_parameter58799815589815
createImageBitmap.options_imageOrientation_parameter52799315529315
createImageBitmap.options_imageOrientation_parameter.from-image1121121111611211116
createImageBitmap.options_premultiplyAlpha_parameter52799317529317
createImageBitmap.options_resizeHeight_parameter54799815549815
createImageBitmap.options_resizeQuality_parameter5479149155414915
createImageBitmap.options_resizeWidth_parameter54799815549815
createImageBitmap.svgimageelement_as_source_image59796517.2596517.2