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

Adding ref to browser-image-compression library docs

parent 33b497e8
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,7 @@ export default { ...@@ -70,6 +70,7 @@ export default {
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);
// https://github.com/Donaldcwl/browser-image-compression
const blob = await imageCompression( const blob = await imageCompression(
imageBlob, imageBlob,
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment