Set MAX_IMAGE_PIXELS to 4096x2160px (4K)

This commit is contained in:
wuyingren 2019-06-13 18:07:56 +08:00
parent 3290e7e025
commit a7952a2f69
2 changed files with 2 additions and 2 deletions

View file

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