diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2021-02-09 01:21:06 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-02-12 10:46:00 +0100 |
commit | 28f533f37036d27d0e420cbcf24684fd5faadc17 (patch) | |
tree | d1d3f9b9b1fa89b8e84298c1482a6a61f32810a7 | |
parent | 5e11f3a6e1de864da8a7e694f18eaa3b5e4c7379 (diff) |
[Glitch] Change max. image dimensions to 1920x1080px (1080p)
Port acf1842896682674d9ab4d0f87ec04c6174468fa to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
-rw-r--r-- | app/javascript/flavours/glitch/util/resize_image.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/util/resize_image.js b/app/javascript/flavours/glitch/util/resize_image.js index 57fc6a6ec..fb8c3c11e 100644 --- a/app/javascript/flavours/glitch/util/resize_image.js +++ b/app/javascript/flavours/glitch/util/resize_image.js @@ -1,6 +1,6 @@ import EXIF from 'exif-js'; -const MAX_IMAGE_PIXELS = 1638400; // 1280x1280px +const MAX_IMAGE_PIXELS = 2073600; // 1920x1080px const _browser_quirks = {}; |