now using canvas.toBlob