Optionally scale images when sending

Default is "scale". Currently scales image so that longest side is 640px.
This commit is contained in:
N-Pex 2021-05-11 21:03:54 +02:00
parent 91dfb0bc8e
commit 5276a46afa
4 changed files with 331 additions and 83 deletions

View file

@ -12,8 +12,11 @@
"axios": "^0.21.0",
"clean-insights-sdk": "^2.4.1",
"core-js": "^3.6.5",
"data-uri-to-buffer": "^3.0.1",
"dayjs": "^1.10.3",
"fix-webm-duration": "^1.0.0",
"image-resize": "^1.1.5",
"image-size": "^1.0.0",
"intersection-observer": "^0.11.0",
"js-sha256": "^0.9.0",
"json-web-key": "^0.4.0",
@ -22,6 +25,7 @@
"matrix-js-sdk": "^9.4.1",
"md-gum-polyfill": "^1.0.0",
"olm": "https://packages.matrix.org/npm/olm/olm-3.2.1.tgz",
"pretty-bytes": "^5.6.0",
"qrcode": "^1.4.4",
"raw-loader": "^4.0.2",
"recordrtc": "^5.6.2",