Playground for blob-util

Welcome to the playground for blob-util!

Below is a little Kirby GIF you can play around with.

Kirby

Here's some code to get you started. Copy-paste this into your console:

    
    var img = document.getElementById('kirby');

    blobUtil.imgSrcToBlob(img.src).then(function (blob) {
      var blobURL = blobUtil.createObjectURL(blob);

      var newImg = document.createElement('img');
      newImg.src = blobURL;

      img.parentNode.appendChild(newImg);
    });

If you see two Kirbys, you're on your way!