How to use the blob-util/dist/blob-util.base64StringToBlob function in blob-util

To help you get started, we’ve selected a few blob-util examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Ni55aN / allmatter / src / components / NodeEditor / index.vue View on Github external
Object.entries(store.state.maps).map(async ([name, map]) => {
                const src = map.replace('data:image/png;base64,', '');
                const blob = await blobUtil.base64StringToBlob(src, 'image/png');

                saveAs(blob, `allmatter_${name}.png`);
            });
        });