Replies: 1 comment 2 replies
-
@tabuna what if in this.fileType = event.target.files[0].type and use it in canvas this.cropper.getCroppedCanvas({
// ...
}).toBlob((blob) => {
// ...
}, this.fileType); // here Also maybe it is worth to make |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I use
Cropper::make('picture');
and upload a JPG, the cropped image gets saved as a very large filesize PNG. Is there any way to preserve the original filetype of JPG so that I do not wind up with extremely large sized photos? For example a 100KB JPG cropped results in a 1MB PNG.Beta Was this translation helpful? Give feedback.
All reactions