We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f302323 + ff42c0b commit b92bdf8Copy full SHA for b92bdf8
1 file changed
src/core/image_resizer.js
@@ -22,7 +22,7 @@ const MIN_IMAGE_DIM = 2048;
22
// In Chrome, there aren't max dimensions but only a max area. So an image with
23
// a very large dimensions is acceptable but it probably doesn't hurt to reduce
24
// it when considering that it will finally rendered on a small canvas.
25
-const MAX_IMAGE_DIM = 65537;
+const MAX_IMAGE_DIM = 32768;
26
const MAX_ERROR = 128;
27
28
// Large images are encoded in using the BMP format (it's a way faster than
0 commit comments