Browse Source

Minor tweaks to image compression settings

pull/172/head
Michael Olund 5 years ago
parent
commit
57a7e7d413
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      vue/src/components/Uploader/Uploader.vue

+ 3
- 2
vue/src/components/Uploader/Uploader.vue View File

@ -247,8 +247,9 @@
if (newFile.file && newFile.type.substr(0, 6) === "image/") {
new Compressor(newFile.file, {
quality: 0.9,
maxWidth: 3600,
maxHeight: 3600,
maxWidth: 3300,
maxHeight: 3300,
convertSize: Infinity,
success(result) {
console.log(result);
self.$refs.upload.update(newFile, {


Loading…
Cancel
Save