From 4350c0dd6138ce75a849473f567e5954dbc22567 Mon Sep 17 00:00:00 2001 From: Sundaram Dubey <56407566+maze-runnar@users.noreply.github.com> Date: Wed, 25 Dec 2019 09:22:12 +0530 Subject: [PATCH] Update app/components/modals/cropper-modal.js Co-Authored-By: Kush Trivedi --- app/components/modals/cropper-modal.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/components/modals/cropper-modal.js b/app/components/modals/cropper-modal.js index 3bfe84bc1c8..f6cbe83dede 100644 --- a/app/components/modals/cropper-modal.js +++ b/app/components/modals/cropper-modal.js @@ -33,11 +33,10 @@ export default class extends ModalBase { } @action cropImage() { - this.$('img').croppie('result', 'base64', 'original', 'jpeg').then(result => { + this.$('img').croppie('result', { type: 'base64', size: 'original', quality: 1, format: 'jpeg' }).then(result => { if (this.onImageCrop) { this.onImageCrop(result); } }); } } -