Change MAX_IMAGE_PIXELS

Increase IMAGE_LIMIT, VIDEO_LIMIT
This commit is contained in:
wuyingren 2019-06-12 22:06:38 +08:00
parent 6fef22365d
commit 43341d82db
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
import EXIF from 'exif-js';
const MAX_IMAGE_PIXELS = 1638400; // 1280x1280px
const MAX_IMAGE_PIXELS = 3686400; //1920x1920px
const getImageUrl = inputFile => new Promise((resolve, reject) => {
if (window.URL && URL.createObjectURL) {