Skip to content

Commit 1f4f459

Browse files
committed
docs: update readme
1 parent 5be3de6 commit 1f4f459

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const options = {
5353
maxSizeMB: number, // (default: Number.POSITIVE_INFINITY)
5454
maxWidthOrHeight: number, // compressedFile will scale down by ratio to a point that width or height is smaller than maxWidthOrHeight (default: undefined)
5555
// but, automatically reduce the size to smaller than the maximum Canvas size supported by each browser.
56-
// Please check the Cabeat part for details.
56+
// Please check the Caveat part for details.
5757
onProgress: Function, // optional, a function takes one progress argument (percentage from 0 to 100)
5858
useWebWorker: boolean, // optional, use multi-thread web worker, fallback to run in main-thread (default: true)
5959

@@ -72,14 +72,6 @@ Each browser limits [the maximum size](https://developer.mozilla.org/en-US/docs/
7272
So, we resize the image to less than the maximum size that each browser restricts. <br/>
7373
(However, the `proportion/ratio` of the image remains.)
7474

75-
| Browser | Maximum height | Maximum width | Maximum area |
76-
|---|---|---|---|
77-
| Chrome | 32,767 pixels | 32,767 pixels | 268,435,456 pixels (i.e., 16,384 x 16,384) |
78-
| Firefox | 32,767 pixels | 32,767 pixels | 472,907,776 pixels (i.e., 22,528 x 20,992) |
79-
| Safari | 32,767 pixels | 32,767 pixels | 268,435,456 pixels (i.e., 16,384 x 16,384) |
80-
| IE | 8,192 pixels | 8,192 pixels | ? |
81-
| Etc | ? | ? | ? |
82-
8375
### Helper function ###
8476
- for advanced users only, most users won't need to use the helper functions
8577
```javascript

0 commit comments

Comments
 (0)