Image Loading From Byte Array

Loading an image in HTML5 is asynchronous by nature

We used to allow BitmapData.fromBytes on HTML5 but the BitmapData was broken until it loaded in the background – which was bad for anything that needed to get the width, height or modify pixels right away

You can use a Loader instance if you want a simple bitmap that will load in when ready