Ashrafb commited on
Commit
c1f7202
1 Parent(s): f0ded11

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +1 -1
static/index.html CHANGED
@@ -436,7 +436,7 @@ async function compressImage(file) {
436
  // Convert canvas content to a blob
437
  canvas.toBlob((blob) => {
438
  resolve(blob);
439
- }, 'image/jpeg', 0.7); // Adjust quality as needed (0.7 is 70% quality)
440
  }
441
  }
442
 
 
436
  // Convert canvas content to a blob
437
  canvas.toBlob((blob) => {
438
  resolve(blob);
439
+ }, 'image/jpeg', 0.3); // Adjust quality as needed (0.7 is 70% quality)
440
  }
441
  }
442