mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 11:35:13 +00:00
Set MAX_IMAGE_PIXELS to 4096x2160px (4K)
This commit is contained in:
parent
3290e7e025
commit
a7952a2f69
2 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue