Skip to content

Commit 7f0f512

Browse files
committed
update example
1 parent 9b39d61 commit 7f0f512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
console.log('\n');
1616
});
1717
var maxSizeMB = 1;
18-
var maxWidthOrHeight = 1920; // compressedFile will scale down by ratio to a point that width or height is smaller than maxWidthOrHeight
18+
var maxWidthOrHeight = 3000; // compressedFile will scale down by ratio to a point that width or height is smaller than maxWidthOrHeight
1919
imageCompression(imageFile, maxSizeMB, maxWidthOrHeight)
2020
.then(function (compressedFile) {
2121
console.log('compressedFile instanceof Blob', compressedFile instanceof Blob); // true

0 commit comments

Comments
 (0)