Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
It allows you to explicitly decode an image (e.g. jpeg) from different sources without using an intermediary Image element. This makes high performance image stuff much faster. For example if you have a jpeg in memory as ArrayBuffer (i.e. from xhr) you can now decode it directly as a Blob created from the ArrayBuffer. The old way would be to use
It's already shipped in Firefox and in Chrome Canary behind a flag.