Skip to content
Snippets Groups Projects
Commit 9051ee3c authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

More docs reference

parent 6609bbd4
Branches
No related tags found
No related merge requests found
...@@ -67,6 +67,7 @@ export default { ...@@ -67,6 +67,7 @@ export default {
}, },
methods: { methods: {
async compressImage(){ async compressImage(){
//https://ionicframework.com/blog/converting-a-base64-string-to-a-blob-in-javascript/
const base64Response = await fetch(this.imageBase64Data); const base64Response = await fetch(this.imageBase64Data);
const imageBlob = await base64Response.blob(); const imageBlob = await base64Response.blob();
//console.info(imageBlob); //console.info(imageBlob);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment