Skip to content
Merged
2 changes: 1 addition & 1 deletion app/components/modals/cropper-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default ModalBase.extend({
this.onVisible();
},
cropImage() {
this.$('img').croppie('result', 'base64', 'original', 'jpeg').then(result => {
this.$('img').croppie('result', { type: 'base64', size: 'original', quality: 1 }).then(result => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maze-runnar Why did you remove the jpeg ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it's not needed.and it was working fine so i removed it .

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please restore it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

if (this.onImageCrop) {
this.onImageCrop(result);
}
Expand Down