# Using createImageBitmap to reduce image-decoding jank

DevFeed: [Using createImageBitmap to reduce image-decoding jank](<https://devfeed.tech/articles/the-hack-is-back-39441.md>)

Original publisher: [Read original article](<https://aerotwist.com/blog/the-hack-is-back>)

Author: Paul Lewis

Published: 2016-01-25T00:00:00Z

Content type: article

Language: en

Sources: [Paul Lewis](<https://devfeed.tech/sources/paul-lewis.md>)

Topics: [Decoding](<https://devfeed.tech/topics/decoding.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Canvas](<https://devfeed.tech/topics/canvas.md>), [Chrome Canary](<https://devfeed.tech/topics/chrome-canary.md>), [Firefox](<https://devfeed.tech/topics/firefox.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [canvas](<https://devfeed.tech/tags/canvas.md>), [chrome-canary](<https://devfeed.tech/tags/chrome-canary.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [images](<https://devfeed.tech/tags/images.md>), [jank](<https://devfeed.tech/tags/jank.md>), [main-thread](<https://devfeed.tech/tags/main-thread.md>), [perf](<https://devfeed.tech/tags/perf.md>), [pixel](<https://devfeed.tech/tags/pixel.md>)

## AI overview

The article explains how image decoding can block other paint tasks and cause checkerboarding or jank. It introduces createImageBitmap as a browser-managed way to decode images off the main paint flow, noting availability in Chrome Canary behind an experimental canvas flag and in Firefox 42 onward.

## Source excerpt

Image decoding can be a source of checkboarding and jank. What if there was a way to work around it without resorting to a cluster of horror hacks? Step right up and meet my new friend createImageBitmap!